Skip to content

Commit

Permalink
autopif.sh: Do not execute killgms.sh if not in default directory
Browse files Browse the repository at this point in the history
  • Loading branch information
pershoot committed Aug 8, 2024
1 parent 418e730 commit 200d40c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions module/autopif.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ if [ "$DIR" = /data/adb/modules/playintegrityfix/autopif ]; then
cp -fv $NEWNAME ..;
fi;

if [ -f /data/adb/modules/playintegrityfix/killgms.sh ]; then
item "Killing any running GMS DroidGuard process ...";
sh /data/adb/modules/playintegrityfix/killgms.sh 2>&1;
if [ "$DIR" = /data/adb/modules/playintegrityfix/autopif ]; then
if [ -f /data/adb/modules/playintegrityfix/killgms.sh ]; then
item "Killing any running GMS DroidGuard process ...";
sh /data/adb/modules/playintegrityfix/killgms.sh 2>&1;
fi;
fi;

0 comments on commit 200d40c

Please sign in to comment.