diff --git a/core/magisk_module/post-fs-data.sh b/core/magisk_module/post-fs-data.sh index 3e8d1856..31a7d6bb 100644 --- a/core/magisk_module/post-fs-data.sh +++ b/core/magisk_module/post-fs-data.sh @@ -19,11 +19,5 @@ 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" unshare -m sh -c "$MODDIR/lspd &" diff --git a/core/magisk_module/util_functions.sh b/core/magisk_module/util_functions.sh index 26ce86cd..220bf281 100644 --- a/core/magisk_module/util_functions.sh +++ b/core/magisk_module/util_functions.sh @@ -29,9 +29,9 @@ check_magisk_version() { abort "*********************************************************" fi elif [ "$FLAVOR" == "zygisk" ]; then - if [ "$MAGISK_VER_CODE" -lt 23010 ]; then + if [ "$MAGISK_VER_CODE" -lt 24000 ]; then ui_print "*********************************************************" - ui_print "! Please install Magisk Lastest Canary (23010+)" + ui_print "! Please install Magisk v24+" abort "*********************************************************" fi else