mirror of
https://github.com/chiteroman/PlayIntegrityFix.git
synced 2025-01-18 19:12:38 +02:00
Check Zygisk using SQL instead enviroment variable
https://github.com/chiteroman/PlayIntegrityFix/issues/423
This commit is contained in:
parent
244e037f85
commit
b89e9ecbd1
@ -1,6 +1,7 @@
|
|||||||
# Module requires Zygisk to work
|
# Module requires Zygisk to work
|
||||||
if [ "$ZYGISK_ENABLED" != "1" ] && [ ! -d "/data/adb/modules/zygisksu" ]; then
|
isZygiskEnabled=$(magisk --sqlite "SELECT value FROM settings WHERE key='zygisk';")
|
||||||
abort "! Zygisk is not enabled. Please, enable Zygisk in Magisk Settings or install the ZygiskNext or ReZygisk module."
|
if [ "$isZygiskEnabled" == "value=0" ] && [ ! -d "/data/adb/modules/zygisksu" ]; then
|
||||||
|
abort "! Zygisk is not enabled. Please, enable Zygisk in Magisk settings or install ZygiskNext or ReZygisk module."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Error on < Android 8
|
# Error on < Android 8
|
||||||
|
Loading…
Reference in New Issue
Block a user