diff --git a/build.gradle b/build.gradle index b84f1d160..76860393a 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ android { applicationId "com.topjohnwu.magisk" minSdkVersion 21 targetSdkVersion 27 - versionCode 73 + versionCode 74 versionName "5.4.3" ndk { moduleName 'zipadjust' diff --git a/src/main/assets/changelog.md b/src/main/assets/changelog.md index 8db0b6cad..b94da241e 100644 --- a/src/main/assets/changelog.md +++ b/src/main/assets/changelog.md @@ -1,4 +1,4 @@ -### v5.4.3 (73) +### v5.4.3 (74) - Fix dynamic resource loading, should prevent crashing when checking SafetyNet - Update SignAPK to use very little RAM, should expand old device support - Support settings migration after hiding Magisk Manager diff --git a/src/main/java/com/topjohnwu/magisk/asyncs/InstallMagisk.java b/src/main/java/com/topjohnwu/magisk/asyncs/InstallMagisk.java index b2fb0b658..90abb03ba 100644 --- a/src/main/java/com/topjohnwu/magisk/asyncs/InstallMagisk.java +++ b/src/main/java/com/topjohnwu/magisk/asyncs/InstallMagisk.java @@ -249,7 +249,7 @@ public class InstallMagisk extends ParallelTask { Utils.fmt("rm -rf %s/*; mkdir -p %s; chmod 700 /data/adb", binPath, binPath), Utils.fmt("cp -af %s/* %s; rm -rf %s", install, binPath, install), Utils.fmt("flash_boot_image %s %s", patched_boot, mBootLocation), - mm.remoteMagiskVersionCode >= 1464 ? "cp /data/magisk.img /data/adb/magisk.img" : "", + mm.remoteMagiskVersionCode >= 1464 ? "[ -L /data/magisk.img ] || cp /data/magisk.img /data/adb/magisk.img" : "", "patch_dtbo_image"); break; default: