Merge pull request #465 from ZQBCWG/main

Fixed continue installing when magisk is not found
This commit is contained in:
Marcos 2024-11-03 14:37:09 +01:00 committed by GitHub
commit b6c6d6e973
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,6 +10,8 @@ fi
if [ ! -d "/data/adb/modules/zygisksu" ]; then if [ ! -d "/data/adb/modules/zygisksu" ]; then
if [ -d "/data/adb/magisk" ]; then if [ -d "/data/adb/magisk" ]; then
[ ! "$(magisk --sqlite "SELECT value FROM settings WHERE key='zygisk';")" == "value=0" ] || abort "! Zygisk is not enabled. Please, enable Zygisk in Magisk settings or install ZygiskNext or ReZygisk module." [ ! "$(magisk --sqlite "SELECT value FROM settings WHERE key='zygisk';")" == "value=0" ] || abort "! Zygisk is not enabled. Please, enable Zygisk in Magisk settings or install ZygiskNext or ReZygisk module."
else
abort "! Zygisk is not enabled. Please, enable Zygisk in Magisk settings or install ZygiskNext or ReZygisk module."
fi fi
fi fi