Correctly check Shamiko module and add missing GMS proc

This commit is contained in:
chiteroman 2024-10-25 00:21:37 +02:00
parent 7bc8d991dc
commit 2a3506a053

View File

@ -5,8 +5,9 @@ MODPATH="${0%/*}"
if magisk --denylist status; then
magisk --denylist rm com.google.android.gms
else
# If DenyList is disabled, maybe you are using Shamiko
if [ ! -f "/data/adb/shamiko/whitelist" ]; then
# Check if Shamiko is installed and whitelist feature isn't enabled
if [ -d "/data/adb/modules/zygisk_shamiko" ] && [ ! -f "/data/adb/shamiko/whitelist" ]; then
magisk --denylist add com.google.android.gms com.google.android.gms
magisk --denylist add com.google.android.gms com.google.android.gms.unstable
fi
fi