Confirmation message after game installs, so window doesn't just vanish any more.

This commit is contained in:
Storm Dragon
2025-08-05 03:57:20 -04:00
parent c3e9d1e4a1
commit 88a815c76f

View File

@@ -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