Confirmation message after game installs, so window doesn't just vanish any more.
This commit is contained in:
@@ -59,6 +59,8 @@ game_installer() {
|
||||
if [[ -f "$installScript" ]]; then
|
||||
# Source and execute the install script
|
||||
source "$installScript"
|
||||
# Show success message
|
||||
agm_msgbox "Installation Complete" "Audio Game Installer" "Game \"${game}\" has been successfully installed."
|
||||
else
|
||||
agm_msgbox "Audio Game Installer" "Audio Game Installer" "Installation script not found for ${game}"
|
||||
exit 1
|
||||
@@ -557,6 +559,8 @@ done
|
||||
if [[ -f ".install/${game}.sh" ]]; then
|
||||
export LANG="en_US.UTF-8"
|
||||
. ".install/${game}.sh"
|
||||
# Show success message
|
||||
agm_msgbox "Installation Complete" "Audio Game Installer" "Game \"${game}\" has been successfully installed."
|
||||
else
|
||||
agm_msgbox "Audio Game Installer" "" "Error: Game '${game}' not found in .install directory"
|
||||
exit 1
|
||||
|
Reference in New Issue
Block a user