We don't need to update APK if installed via manager

This commit is contained in:
topjohnwu 2018-04-29 14:34:59 +08:00
parent 267395bfa2
commit 404c6fac9a

View File

@ -182,7 +182,7 @@ public class InstallMagisk extends ParallelTask<Void, Void, Boolean> {
Shell.Sync.sh("mv -f new-boot.img ../", Shell.Sync.sh("mv -f new-boot.img ../",
"mv bin/busybox busybox", "mv bin/busybox busybox",
"rm -rf bin *.img update-binary", "rm -rf magisk.apk bin *.img update-binary",
"cd /"); "cd /");
SuFile patched_boot = new SuFile(install.getParent(), "new-boot.img"); SuFile patched_boot = new SuFile(install.getParent(), "new-boot.img");