mirror of
https://github.com/chiteroman/PlayIntegrityFix.git
synced 2025-01-18 11:02:40 +02:00
Check zygisksu before execute magisk
This commit is contained in:
parent
cd22f0361a
commit
721c93e7f0
@ -8,8 +8,7 @@ if ! $BOOTMODE; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Module requires Zygisk to work
|
# Module requires Zygisk to work
|
||||||
isZygiskEnabled=$(magisk --sqlite "SELECT value FROM settings WHERE key='zygisk';")
|
if [ ! -d "/data/adb/modules/zygisksu" ] && [ "$(magisk --sqlite "SELECT value FROM settings WHERE key='zygisk';")" == "value=0" ]; then
|
||||||
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."
|
abort "! Zygisk is not enabled. Please, enable Zygisk in Magisk settings or install ZygiskNext or ReZygisk module."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user