PlayIntegrityFix/module/customize.sh
chiteroman 2654b9a8a0
v14.2
2023-12-05 13:13:38 +01:00

15 lines
576 B
Bash

# Error on < Android 8.
if [ "$API" -lt 26 ]; then
abort "!!! You can't use this module on Android < 8.0"
fi
# SafetyNet-Fix module is obsolete and it's incompatible with PIF.
if [ -d /data/adb/modules/safetynet-fix ]; then
touch /data/adb/modules/safetynet-fix/remove
ui_print "!!! SafetyNet-Fix module will be removed on next reboot."
fi
# MagiskHidePropsConf module is obsolete in Android 8+ but it shouldn't give issues.
if [ -d /data/adb/modules/MagiskHidePropsConf ]; then
ui_print "!!! WARNING, MagiskHidePropsConf module may cause issues with PIF"
fi