mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-04-29 22:24:34 +02:00
module: fix verify error
This commit is contained in:
parent
efe7b1d285
commit
eda4f830f9
@ -38,6 +38,7 @@ if BASEPATH=$(pm path __PKGNAME); then
|
|||||||
fi
|
fi
|
||||||
if [ $INS = true ]; then
|
if [ $INS = true ]; then
|
||||||
ui_print "* Updating __PKGNAME (v__PKGVER)"
|
ui_print "* Updating __PKGNAME (v__PKGVER)"
|
||||||
|
settings put global verifier_verify_adb_installs 0
|
||||||
SZ=$(stat -c "%s" $MODPATH/__PKGNAME.apk)
|
SZ=$(stat -c "%s" $MODPATH/__PKGNAME.apk)
|
||||||
if ! SES=$(pm install-create --user 0 -i com.android.vending -r -d -S "$SZ" 2>&1); then
|
if ! SES=$(pm install-create --user 0 -i com.android.vending -r -d -S "$SZ" 2>&1); then
|
||||||
ui_print "ERROR: session creation failed"
|
ui_print "ERROR: session creation failed"
|
||||||
@ -54,6 +55,7 @@ if [ $INS = true ]; then
|
|||||||
ui_print "ERROR: install-commit failed"
|
ui_print "ERROR: install-commit failed"
|
||||||
abort "$op"
|
abort "$op"
|
||||||
fi
|
fi
|
||||||
|
settings put global verifier_verify_adb_installs 1
|
||||||
if BASEPATH=$(pm path __PKGNAME); then
|
if BASEPATH=$(pm path __PKGNAME); then
|
||||||
BASEPATH=${BASEPATH##*:}
|
BASEPATH=${BASEPATH##*:}
|
||||||
BASEPATH=${BASEPATH%/*}
|
BASEPATH=${BASEPATH%/*}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user