prevent deletion if tricky store add webui/action in future

This commit is contained in:
KOWX712
2025-01-15 01:11:59 +08:00
parent e348fbdd6f
commit 684b38afef
2 changed files with 4 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ fi
rm -rf "/data/adb/modules/.TA_utl"
rm -f "/data/adb/boot_hash"
if [ -d "$TS" ]; then
rm -f "$TS/action.sh"
rm -rf "$TS/webroot"
[ -L "$TS/webroot" ] && rm -f "$TS/webroot"
[ -L "$TS/action.sh" ] && rm -f "$TS/action.sh"
fi
xxd -r -p "$MODPATH/common/.default" | base64 -d > "$SCRIPT_DIR/keybox.xml"