mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 20:07:38 +00:00
Update scripts
This commit is contained in:
parent
2dad751889
commit
b31d986c8d
@ -406,7 +406,7 @@ find_manager_apk() {
|
|||||||
DBAPK=`magisk --sqlite "SELECT value FROM strings WHERE key='requester'" 2>/dev/null | cut -d= -f2`
|
DBAPK=`magisk --sqlite "SELECT value FROM strings WHERE key='requester'" 2>/dev/null | cut -d= -f2`
|
||||||
[ -z $DBAPK ] && DBAPK=`strings /data/adb/magisk.db | grep 5requester | cut -c11-`
|
[ -z $DBAPK ] && DBAPK=`strings /data/adb/magisk.db | grep 5requester | cut -c11-`
|
||||||
[ -z $DBAPK ] || APK=/data/user_de/*/$DBAPK/dyn/*.apk
|
[ -z $DBAPK ] || APK=/data/user_de/*/$DBAPK/dyn/*.apk
|
||||||
[ -f $APK ] || APK=/data/app/$DBAPK*/*.apk
|
[ -f $APK ] || [ -z $DBAPK ] || APK=/data/app/$DBAPK*/*.apk
|
||||||
fi
|
fi
|
||||||
[ -f $APK ] || ui_print "! Unable to detect Magisk Manager APK for BootSigner"
|
[ -f $APK ] || ui_print "! Unable to detect Magisk Manager APK for BootSigner"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user