Skip to content

Commit

Permalink
Correctly check Shamiko module and add missing GMS proc
Browse files Browse the repository at this point in the history
  • Loading branch information
chiteroman committed Oct 24, 2024
1 parent 7bc8d99 commit 2a3506a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions module/post-fs-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2a3506a

Please sign in to comment.