Add function to find manager APK

Close #673
This commit is contained in:
topjohnwu
2018-11-15 03:12:31 -05:00
parent 927f69fe30
commit 96b93bd876
2 changed files with 11 additions and 3 deletions

View File

@@ -34,9 +34,7 @@ initialize() {
# Load utility functions
. $MAGISKBIN/util_functions.sh
APK=/data/adb/magisk.apk
[ -f $APK ] || APK=/data/magisk/magisk.apk
[ -f $APK ] || APK=/data/app/com.topjohnwu.magisk*/*.apk
find_manager_apk
}
show_logo() {