Zygisk has been released (#1581)

This commit is contained in:
南宫雪珊 2022-01-29 18:33:36 +08:00 committed by GitHub
parent 5fd296e3ad
commit 5898667351
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 8 deletions

View File

@ -19,11 +19,5 @@
MODDIR=${0%/*} MODDIR=${0%/*}
FLAVOR=@FLAVOR@
if ! [ "$ZYGISK_ENABLED" = "$([ $FLAVOR = "zygisk" ] && echo 1)" ]; then
log -t "LSPosed" "$FLAVOR does not match, skipping"
exit
fi
rm -f "/data/local/tmp/daemon.apk" rm -f "/data/local/tmp/daemon.apk"
unshare -m sh -c "$MODDIR/lspd &" unshare -m sh -c "$MODDIR/lspd &"

View File

@ -29,9 +29,9 @@ check_magisk_version() {
abort "*********************************************************" abort "*********************************************************"
fi fi
elif [ "$FLAVOR" == "zygisk" ]; then elif [ "$FLAVOR" == "zygisk" ]; then
if [ "$MAGISK_VER_CODE" -lt 23010 ]; then if [ "$MAGISK_VER_CODE" -lt 24000 ]; then
ui_print "*********************************************************" ui_print "*********************************************************"
ui_print "! Please install Magisk Lastest Canary (23010+)" ui_print "! Please install Magisk v24+"
abort "*********************************************************" abort "*********************************************************"
fi fi
else else