mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-26 03:57:24 +00:00
Bump version
This commit is contained in:
parent
836d9afe17
commit
2e02af994e
@ -8,8 +8,8 @@ android {
|
|||||||
applicationId "com.topjohnwu.magisk"
|
applicationId "com.topjohnwu.magisk"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 27
|
targetSdkVersion 27
|
||||||
versionCode 84
|
versionCode 86
|
||||||
versionName "5.5.2"
|
versionName "5.5.3"
|
||||||
ndk {
|
ndk {
|
||||||
moduleName 'zipadjust'
|
moduleName 'zipadjust'
|
||||||
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
|
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
### v5.5.2
|
### v5.5.3
|
||||||
- Support sorting online repos with last update
|
- Update translations
|
||||||
- Fix issue that advanced installation settings won't stick
|
- Update internal scripts
|
||||||
- Prevent sudb crashing Magisk Manager
|
- Minor bug fixes
|
||||||
|
@ -11,8 +11,8 @@ import java.io.File;
|
|||||||
import java.io.FileInputStream;
|
import java.io.FileInputStream;
|
||||||
import java.io.FileOutputStream;
|
import java.io.FileOutputStream;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.util.jar.JarEntry;
|
import java.util.zip.ZipEntry;
|
||||||
import java.util.jar.JarInputStream;
|
import java.util.zip.ZipInputStream;
|
||||||
|
|
||||||
public class ZipUtils {
|
public class ZipUtils {
|
||||||
|
|
||||||
@ -30,9 +30,9 @@ public class ZipUtils {
|
|||||||
|
|
||||||
public static void unzip(InputStream zip, File folder, String path, boolean junkPath) throws Exception {
|
public static void unzip(InputStream zip, File folder, String path, boolean junkPath) throws Exception {
|
||||||
try {
|
try {
|
||||||
JarInputStream zipfile = new JarInputStream(zip);
|
ZipInputStream zipfile = new ZipInputStream(zip);
|
||||||
JarEntry entry;
|
ZipEntry entry;
|
||||||
while ((entry = zipfile.getNextJarEntry()) != null) {
|
while ((entry = zipfile.getNextEntry()) != null) {
|
||||||
if (!entry.getName().startsWith(path) || entry.isDirectory()){
|
if (!entry.getName().startsWith(path) || entry.isDirectory()){
|
||||||
// Ignore directories, only create files
|
// Ignore directories, only create files
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user