From ef58758101b88bb10771746620b96be3c1b2e012 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Sun, 8 Sep 2024 10:32:33 +0900 Subject: [PATCH] STEAM_SYNC: fix framwork was shutting down before steam_sync --- functions/other_functions.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/functions/other_functions.sh b/functions/other_functions.sh index d32f8322..99b6f05d 100644 --- a/functions/other_functions.sh +++ b/functions/other_functions.sh @@ -880,14 +880,12 @@ release_selector() { quit_retrodeck() { log i "Quitting ES-DE" pkill -f "es-de" - log i "Shutting down RetroDECK's framework" - pkill -f "retrodeck" - # if steam sync is on do the magic + # if steam sync is on do the magic if [[ $steam_sync == "true" ]]; then ( source /app/libexec/steam_sync.sh - addToSteam "$(ls "$rdhome/ES-DE/gamelists/")" + add_to_steam "$(ls "$rdhome/ES-DE/gamelists/")" ) | zenity --progress \ --title="Syncing with Steam" \ @@ -898,6 +896,8 @@ quit_retrodeck() { --auto-close \ --auto-kill fi + log i "Shutting down RetroDECK's framework" + pkill -f "retrodeck" log i "See you next time" }