Warn of possible conflict if MagiskHidePropsConfig is installed

This commit is contained in:
osm0sis 2023-11-29 12:55:27 -04:00
parent c07e2707b7
commit ffcc2df8b5
No known key found for this signature in database
GPG Key ID: 6F67B35EACE37744
2 changed files with 5 additions and 2 deletions

View File

@ -3,11 +3,14 @@ if [ "$API" -lt 26 ]; then
abort "!!! You can't use this module on Android < 8.0"
fi
# Remove safetynet-fix module if installed
# Remove/warn if conflicting modules are installed
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
if [ -d /data/adb/modules/MagiskHidePropsConf ]; then
ui_print "- Warning, 'MagiskHidePropsConf' module may cause issues with PIF"
fi
# Copy any custom.pif.json to updated module
if [ -f /data/adb/modules/playintegrityfix/custom.pif.json ]; then

View File

@ -3,7 +3,7 @@ if magisk --denylist status; then
magisk --denylist rm com.google.android.gms
fi
# Remove safetynet-fix module if installed
# Remove conflicting modules if installed
if [ -d /data/adb/modules/safetynet-fix ]; then
touch /data/adb/modules/safetynet-fix/remove
fi