mirror of
https://gitlink.org.cn/pooneyy/1Panel-Appstore.git
synced 2026-04-24 13:01:44 +08:00
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:
parent
f47eae0835
commit
bbdbf39005
@ -74,7 +74,7 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
TEMP_DIR="/tmp/localApps"
|
||||
TEMP_DIR=$(mktemp -d)
|
||||
|
||||
repo_prefixs=(
|
||||
'https://github.com'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user