mirror of
https://github.com/pooneyy/1Panel-Appstore.git
synced 2026-03-18 05:41:03 +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…
x
Reference in New Issue
Block a user