PlayIntegrityFix/module/customize.sh

16 lines
579 B
Bash
Raw Normal View History

2023-11-30 19:28:01 +02:00
# Error on < Android 8.
2023-11-24 21:58:30 +02:00
if [ "$API" -lt 26 ]; then
abort "!!! You can't use this module on Android < 8.0"
2023-11-24 21:58:30 +02:00
fi
2023-11-30 19:28:01 +02: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-11-30 19:28:01 +02:00
ui_print "!!! SafetyNet-Fix module will be removed on next reboot."
fi
2023-11-30 19:28:01 +02:00
# 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