Commit a1871e4b authored by topjohnwu's avatar topjohnwu

Fix install commands

parent 3aa0294c
...@@ -8,7 +8,7 @@ android { ...@@ -8,7 +8,7 @@ android {
applicationId "com.topjohnwu.magisk" applicationId "com.topjohnwu.magisk"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 27 targetSdkVersion 27
versionCode 73 versionCode 74
versionName "5.4.3" versionName "5.4.3"
ndk { ndk {
moduleName 'zipadjust' moduleName 'zipadjust'
......
### v5.4.3 (73) ### v5.4.3 (74)
- Fix dynamic resource loading, should prevent crashing when checking SafetyNet - Fix dynamic resource loading, should prevent crashing when checking SafetyNet
- Update SignAPK to use very little RAM, should expand old device support - Update SignAPK to use very little RAM, should expand old device support
- Support settings migration after hiding Magisk Manager - Support settings migration after hiding Magisk Manager
......
...@@ -249,7 +249,7 @@ public class InstallMagisk extends ParallelTask<Void, Void, Boolean> { ...@@ -249,7 +249,7 @@ public class InstallMagisk extends ParallelTask<Void, Void, Boolean> {
Utils.fmt("rm -rf %s/*; mkdir -p %s; chmod 700 /data/adb", binPath, binPath), 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("cp -af %s/* %s; rm -rf %s", install, binPath, install),
Utils.fmt("flash_boot_image %s %s", patched_boot, mBootLocation), 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"); "patch_dtbo_image");
break; break;
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment