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