Skip to content

Commit

Permalink
Make scripts-only mode opt-in only
Browse files Browse the repository at this point in the history
- older custom ROMs may be able to pass only with the Zygisk components active, since the custom ROM doesn't have the correct stock ROM values
  • Loading branch information
osm0sis authored Mar 28, 2024
1 parent 8414785 commit 8215587
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions module/customize.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Allow a scripts-only mode on older Android without Zygisk
if [ "$API" -lt 26 -o -f /data/adb/modules/playintegrityfix/scripts-only-mode ]; then
ui_print "! Installing global scripts only for Android < 8.0; Zygisk attestation fallback and device spoofing disabled"
# Allow a scripts-only mode on older Android (<10) which may not require the Zygisk components
if [ -f /data/adb/modules/playintegrityfix/scripts-only-mode ]; then
ui_print "! Installing global scripts only; Zygisk attestation fallback and device spoofing disabled"
touch $MODPATH/scripts-only-mode
rm -rf $MODPATH/classes.dex $MODPATH/common_setup.sh $MODPATH/custom.pif.json \
$MODPATH/example.app_replace.list $MODPATH/example.pif.json $MODPATH/migrate.sh $MODPATH/zygisk \
Expand Down

0 comments on commit 8215587

Please sign in to comment.