From 404c6fac9ac99af627e0e35c47f508275836a089 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Sun, 29 Apr 2018 14:34:59 +0800 Subject: [PATCH] We don't need to update APK if installed via manager --- src/main/java/com/topjohnwu/magisk/asyncs/InstallMagisk.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/topjohnwu/magisk/asyncs/InstallMagisk.java b/src/main/java/com/topjohnwu/magisk/asyncs/InstallMagisk.java index 36b78e0fd..a8d06eda9 100644 --- a/src/main/java/com/topjohnwu/magisk/asyncs/InstallMagisk.java +++ b/src/main/java/com/topjohnwu/magisk/asyncs/InstallMagisk.java @@ -182,7 +182,7 @@ public class InstallMagisk extends ParallelTask { Shell.Sync.sh("mv -f new-boot.img ../", "mv bin/busybox busybox", - "rm -rf bin *.img update-binary", + "rm -rf magisk.apk bin *.img update-binary", "cd /"); SuFile patched_boot = new SuFile(install.getParent(), "new-boot.img");