From 5898667351f0dc2b4db44839b920b3128717f357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=97=E5=AE=AB=E9=9B=AA=E7=8F=8A?= Date: Sat, 29 Jan 2022 18:33:36 +0800 Subject: [PATCH] Zygisk has been released (#1581) --- core/magisk_module/post-fs-data.sh | 6 ------ core/magisk_module/util_functions.sh | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) 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