More fixes to installer scripts.

This commit is contained in:
Storm Dragon
2025-08-05 03:42:02 -04:00
parent 6317b2098b
commit bb1883ccd7
20 changed files with 28 additions and 25 deletions

View File

@@ -194,13 +194,16 @@ install_with_progress() {
case "$operation" in
"unzip")
unzip "$@" | agm_progressbox "Game Installation" "$message"
# Always overwrite without prompting to prevent invisible terminal prompts
unzip -o "$@" | agm_progressbox "Game Installation" "$message"
;;
"7z")
7z "$@" | agm_progressbox "Game Installation" "$message"
# Always overwrite without prompting for 7z as well
7z -y "$@" | agm_progressbox "Game Installation" "$message"
;;
"cp"|"copy")
cp -v "$@" | agm_progressbox "Game Installation" "$message"
# Always force overwrite to prevent invisible prompts in GUI mode
cp -fv "$@" | agm_progressbox "Game Installation" "$message"
;;
"find")
find "$@" | agm_progressbox "Game Installation" "$message"