More fixes to installer scripts.
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user