Allow optional skipping resetprop --delete to avoid detections

This commit is contained in:
Chris Renshaw
2024-11-10 13:09:56 -04:00
committed by GitHub
parent 4e96fdef9d
commit cd32f0cb0a
3 changed files with 5 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
SKIPDELPROP=false
[ -f "$MODPATH/skipdelprop" ] && SKIPDELPROP=true
RESETPROP="resetprop -n"
[ -f /data/adb/magisk/util_functions.sh ] && [ "$(grep MAGISK_VER_CODE /data/adb/magisk/util_functions.sh | cut -d= -f2)" -lt 27003 ] && RESETPROP=resetprop_hexpatch