Make Magisk version more clear

This commit is contained in:
topjohnwu
2018-04-14 15:32:37 +08:00
parent 2ca528f93f
commit fd7b5f393a
9 changed files with 22 additions and 11 deletions
@@ -268,7 +268,7 @@ public class ShowUI {
Shell.Sync.su(
Utils.fmt("echo '%s' > /cache/%s", uninstaller.toString().replace("'", "'\\''"), Const.UNINSTALLER),
Utils.fmt("echo '%s' > %s/%s", utils.toString().replace("'", "'\\''"),
mm.magiskVersionCode >= 1464 ? "/data/adb/magisk" : "/data/magisk", Const.UTIL_FUNCTIONS)
mm.magiskVersionCode >= Const.MAGISK_VER.HIDDEN_PATH ? "/data/adb/magisk" : "/data/magisk", Const.UTIL_FUNCTIONS)
);
try {
uninstaller.close();