From 8215587745e23df8dff2e7da58dc09b5dad258cc Mon Sep 17 00:00:00 2001 From: Chris Renshaw Date: Thu, 28 Mar 2024 11:33:08 -0300 Subject: [PATCH] Make scripts-only mode opt-in only - 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 --- module/customize.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/customize.sh b/module/customize.sh index 59afc02..198e101 100644 --- a/module/customize.sh +++ b/module/customize.sh @@ -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 \