We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cc82e3 commit 1255a49Copy full SHA for 1255a49
module/common_func.sh
@@ -1,5 +1,5 @@
1
RESETPROP="resetprop -n"
2
-[ -n "$MAGISK_VER_CODE" ] && [ "$MAGISK_VER_CODE" -lt "27003" ] && RESETPROP=resetprop_hexpatch
+[ -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
3
4
# resetprop_hexpatch [-f|--force] <prop name> <new value>
5
resetprop_hexpatch() {
0 commit comments