mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
CONFIGURATOR: Quit button is quitting RetroDECK
This commit is contained in:
parent
8d4162246b
commit
eca2469ba0
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue