From c69f5883ff2ed2be5c17fc106a3ab54f49e9d978 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Wed, 4 Dec 2024 10:56:57 +0900 Subject: [PATCH] LEGACY-CONFIGURATOR: added steam sync disable + remove --- tools/configurator.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/configurator.sh b/tools/configurator.sh index d0762fb2..9730a472 100755 --- a/tools/configurator.sh +++ b/tools/configurator.sh @@ -1260,7 +1260,7 @@ configurator_add_steam() { zenity --question \ --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \ --title "RetroDECK Configurator - RetroDECK Steam Syncronization" \ - --text="Steam syncronization is currently enabled. Do you want to disable it?\n\nThe already added shortcut will not be removed.\n" + --text="Steam syncronization is currently enabled.\nDisabling Steam Sync will remove all your favorites from Steam at the next Steam startup.\n\nDo you want to continue?\n\nTo re-add them just enable Steam Sync again and restart Steam." if [ $? == 0 ] # User clicked "Yes" then @@ -1294,6 +1294,12 @@ enable_steam_sync() { disable_steam_sync() { set_setting_value $rd_conf "steam_sync" "false" retrodeck "options" + source /app/libexec/steam_sync.sh + remove_from_steam + zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap --ok-label="OK" \ + --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \ + --title "RetroDECK Configurator - RetroDECK Steam Syncronization" \ + --text="Steam syncronization disabled and shortcuts removed, restart Steam to apply the changes." configurator_welcome_dialog }