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
|
if [[ -f "$installScript" ]]; then
|
||||||
# Source and execute the install script
|
# Source and execute the install script
|
||||||
source "$installScript"
|
source "$installScript"
|
||||||
|
# Show success message
|
||||||
|
agm_msgbox "Installation Complete" "Audio Game Installer" "Game \"${game}\" has been successfully installed."
|
||||||
else
|
else
|
||||||
agm_msgbox "Audio Game Installer" "Audio Game Installer" "Installation script not found for ${game}"
|
agm_msgbox "Audio Game Installer" "Audio Game Installer" "Installation script not found for ${game}"
|
||||||
exit 1
|
exit 1
|
||||||
@@ -557,6 +559,8 @@ done
|
|||||||
if [[ -f ".install/${game}.sh" ]]; then
|
if [[ -f ".install/${game}.sh" ]]; then
|
||||||
export LANG="en_US.UTF-8"
|
export LANG="en_US.UTF-8"
|
||||||
. ".install/${game}.sh"
|
. ".install/${game}.sh"
|
||||||
|
# Show success message
|
||||||
|
agm_msgbox "Installation Complete" "Audio Game Installer" "Game \"${game}\" has been successfully installed."
|
||||||
else
|
else
|
||||||
agm_msgbox "Audio Game Installer" "" "Error: Game '${game}' not found in .install directory"
|
agm_msgbox "Audio Game Installer" "" "Error: Game '${game}' not found in .install directory"
|
||||||
exit 1
|
exit 1
|
||||||
|
Reference in New Issue
Block a user