PlayIntegrityFix/module/customize.sh

15 lines
576 B
Bash
Raw Normal View History

2023-12-01 01:28:01 +08:00
# Error on < Android 8.
2023-11-25 03:58:30 +08:00
if [ "$API" -lt 26 ]; then
abort "!!! You can't use this module on Android < 8.0"
2023-11-25 03:58:30 +08:00
fi
2023-12-01 01:28:01 +08:00
# 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
2023-12-01 01:28:01 +08:00
ui_print "!!! SafetyNet-Fix module will be removed on next reboot."
fi
2023-12-01 01:28:01 +08:00
# MagiskHidePropsConf module is obsolete in Android 8+ but it shouldn't give issues.
if [ -d /data/adb/modules/MagiskHidePropsConf ]; then
2023-12-05 20:13:38 +08:00
ui_print "!!! WARNING, MagiskHidePropsConf module may cause issues with PIF"
fi