diff --git a/module/customize.sh b/module/customize.sh index a608063..94ac8a8 100644 --- a/module/customize.sh +++ b/module/customize.sh @@ -65,3 +65,14 @@ if [ -f "/data/adb/pif.json" ]; then ui_print "- Backup custom pif.json" mv -f /data/adb/pif.json /data/adb/pif.json.old fi + +# give exec perm to action.sh +chmod +x "$MODPATH/action.sh" + +# action.sh, ap 10927, ksu 11981 +if { [ "$KSU" = "true" ] && [ "$KSU_VER_CODE" -ge 11981 ]; } || + { [ "$APATCH" = "true" ] && [ "$APATCH_VER_CODE" -ge 10927 ]; }; then + # we dont need the webui workaround + # since manager has action + rm -rf "$MODPATH/webroot" +fi