diff --git a/functions/dialogs.sh b/functions/dialogs.sh index c2069583..2571a35b 100644 --- a/functions/dialogs.sh +++ b/functions/dialogs.sh @@ -1,5 +1,7 @@ #!/bin/bash +source functions/functions.sh + debug_dialog() { # This function is for displaying commands run by the Configurator without actually running them # USAGE: debug_dialog "command" @@ -21,8 +23,7 @@ configurator_process_complete_dialog() { if [ ! $? == 0 ]; then # OK button clicked configurator_welcome_dialog elif [ ! $? == 1 ]; then # Quit button clicked - pkill -f retrodeck - pkill -f emulationstation + quit_retrodeck fi } diff --git a/functions/functions.sh b/functions/functions.sh index 56403bbe..3b3719fb 100644 --- a/functions/functions.sh +++ b/functions/functions.sh @@ -294,7 +294,7 @@ do zenity --question --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --title "RetroDECK" --cancel-label="No" --ok-label "Yes" --text="Do you want to quit?" if [ $? == 0 ] # yes, quit then - exit 2 + quit_retrodeck fi fi fi @@ -304,7 +304,7 @@ do --title "RetroDECK" \ --ok-label "Quit" \ --text="No location was selected. Please run RetroDECK again to retry." - exit 2 + quit_retrodeck fi done } @@ -346,7 +346,7 @@ finit() { "Back" | "" ) # Back or X button quits rm -f "$rd_conf" # Cleanup unfinished retrodeck.cfg if first install is interrupted echo "Now quitting" - exit 2 + quit_retrodeck ;; "Internal Storage" ) # Internal @@ -382,7 +382,7 @@ finit() { --text="SD card was found but is not writable\nThis can happen with cards formatted on PC.\nPlease format the SD card through the Steam Deck's Game Mode and run RetroDECK again." rm -f "$rd_conf" # Cleanup unfinished retrodeck.cfg if first install is interrupted echo "Now quitting" - exit 2 + quit_retrodeck else rdhome="$sdcard/retrodeck" fi @@ -527,6 +527,11 @@ easter_eggs() { cp -f "$new_splash_file" "$current_splash_file" # Deploy assigned splash screen } +quit_retrodeck() { + pkill -f retrodeck + pkill -f emulationstation +} + start_retrodeck() { easter_eggs # Check if today has a surprise splashscreen and load it if so # normal startup diff --git a/net.retrodeck.retrodeck.appdata.xml b/net.retrodeck.retrodeck.appdata.xml index 1e4cd89d..bab03200 100644 --- a/net.retrodeck.retrodeck.appdata.xml +++ b/net.retrodeck.retrodeck.appdata.xml @@ -72,23 +72,26 @@

Fixes:

Issues:

Missing: