mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-09-14 04:15:06 +08:00
🎨 Sync 2026-06-17 12:24:55
This commit is contained in:
@@ -131,8 +131,8 @@ upload_start() {
|
||||
local clean id token dir file
|
||||
clean="$(sanitize_name "$filename")"
|
||||
case "$clean" in
|
||||
*.run) ;;
|
||||
*) json_error "Only .run files are accepted"; return ;;
|
||||
*.run|*.sh) ;;
|
||||
*) json_error "Only .run and .sh files are accepted"; return ;;
|
||||
esac
|
||||
|
||||
id="$(date +%s)_$$"
|
||||
|
||||
Reference in New Issue
Block a user