mirror of
https://github.com/chiteroman/PlayIntegrityFix.git
synced 2025-01-18 19:12:38 +02:00
Check Shamiko whitelist before configuring DenyList
Since creating a file named 'whitelist' on /data/adb/shamiko/ seems to be the only way to enable whitelist mode on Shamiko. This commit adds a simple if statement to check that whitelist mode is not enabled.
This commit is contained in:
parent
fb36aab0c0
commit
2ec63b609d
@ -6,8 +6,10 @@ if magisk --denylist status; then
|
|||||||
magisk --denylist rm com.google.android.gms
|
magisk --denylist rm com.google.android.gms
|
||||||
else
|
else
|
||||||
# If DenyList is disabled, maybe you are using Shamiko
|
# If DenyList is disabled, maybe you are using Shamiko
|
||||||
|
if [ ! -f "/data/adb/shamiko/whitelist" ]; then
|
||||||
magisk --denylist add com.google.android.gms com.google.android.gms.unstable
|
magisk --denylist add com.google.android.gms com.google.android.gms.unstable
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Uninstall conflict apps
|
# Uninstall conflict apps
|
||||||
APPS="
|
APPS="
|
||||||
|
Loading…
Reference in New Issue
Block a user