You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Remove force_pm_install
gms package verifier only checks the `notBefore` value of the certificate
This commit is contained in:
@@ -85,16 +85,6 @@ EOF
|
||||
cd /
|
||||
}
|
||||
|
||||
force_pm_install() {
|
||||
local APK=$1
|
||||
local VERIFY=`settings get global package_verifier_enable`
|
||||
[ "$VERIFY" -eq 1 ] && settings put global package_verifier_enable 0
|
||||
pm install -r $APK
|
||||
local res=$?
|
||||
[ "$VERIFY" -eq 1 ] && settings put global package_verifier_enable 1
|
||||
return $res
|
||||
}
|
||||
|
||||
check_boot_ramdisk() {
|
||||
# Create boolean ISAB
|
||||
[ -z $SLOT ] && ISAB=false || ISAB=true
|
||||
|
||||
Reference in New Issue
Block a user