From eca2469ba0d47bac4477dde6f6e8cd7473bcf3b3 Mon Sep 17 00:00:00 2001 From: XargonWan <6771419+XargonWan@users.noreply.github.com> Date: Sun, 26 Nov 2023 09:26:53 +0100 Subject: [PATCH] CONFIGURATOR: Quit button is quitting RetroDECK --- functions/dialogs.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/functions/dialogs.sh b/functions/dialogs.sh index 00393287..dff4fabd 100644 --- a/functions/dialogs.sh +++ b/functions/dialogs.sh @@ -16,11 +16,14 @@ configurator_process_complete_dialog() { zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap --ok-label="Quit" --extra-button="OK" \ --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \ --title "RetroDECK Configurator Utility - Process Complete" \ - --text="The process of $1 is now complete.\n\nYou may need to quit and restart RetroDECK for your changes to take effect\n\nClick OK to return to the Main Menu or Quit to return to RetroDECK." + --text="The process of $1 is now complete.\n\nYou may need to quit and restart RetroDECK for your changes to take effect\n\nClick OK to return to the Main Menu or Quit to quit RetroDECK." if [ ! $? == 0 ] # OK button clicked then configurator_welcome_dialog + elif [ ! $? == 1 ] # Quit button clicked + pkill -f retrodeck + pkill -f emulationstation fi }