mirror of
https://github.com/chiteroman/PlayIntegrityFix.git
synced 2025-01-19 02:52:20 +08: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
|
||||
else
|
||||
# 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
|
||||
fi
|
||||
fi
|
||||
|
||||
# Uninstall conflict apps
|
||||
APPS="
|
||||
|
Loading…
Reference in New Issue
Block a user