diff --git a/module/post-fs-data.sh b/module/post-fs-data.sh index 17ec0b1..617f9e5 100644 --- a/module/post-fs-data.sh +++ b/module/post-fs-data.sh @@ -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