1
0

chore(scripts): improve temp directory handling in update script

- replace hardcoded `/tmp/localApps` with `mktemp -d` for secure, unique temporary directory creation
This commit is contained in:
pooneyy
2026-02-28 16:58:47 +08:00
parent f47eae0835
commit bbdbf39005

View File

@@ -74,7 +74,7 @@ else
fi
fi
TEMP_DIR="/tmp/localApps"
TEMP_DIR=$(mktemp -d)
repo_prefixs=(
'https://github.com'