PlayIntegrityFix/module/customize.sh

14 lines
392 B
Bash
Raw Normal View History

2023-11-24 21:58:30 +02:00
# 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 incompatible
if [ -d "/data/adb/modules/safetynet-fix" ]; then
touch "/data/adb/modules/safetynet-fix/remove"
2023-11-25 03:13:22 +02:00
ui_print "!!! safetynet-fix module removed!"
2023-11-26 16:00:21 +02:00
fi
# use our resetprop
mv -f "$MODPATH/bin/$ABI/resetprop" "$MODPATH"
rm -rf "$MODPATH/bin"