diff --git a/functions/global.sh b/functions/global.sh index 53f2b54d..12953e19 100644 --- a/functions/global.sh +++ b/functions/global.sh @@ -52,6 +52,7 @@ source /app/libexec/prepare_component.sh source /app/libexec/presets.sh source /app/libexec/configurator_functions.sh source /app/libexec/run_game.sh +source /app/libexec/steam_sync.sh # Static variables rd_conf="/var/config/retrodeck/retrodeck.cfg" # RetroDECK config file path diff --git a/functions/other_functions.sh b/functions/other_functions.sh index 61177835..b72ee124 100644 --- a/functions/other_functions.sh +++ b/functions/other_functions.sh @@ -1189,7 +1189,6 @@ quit_retrodeck() { # if steam sync is on do the magic if [[ $(get_setting_value "$rd_conf" "steam_sync" retrodeck "options") == "true" ]]; then ( - source /app/libexec/steam_sync.sh add_to_steam "$(ls "$rdhome/ES-DE/gamelists/")" ) | rd_zenity --progress \ diff --git a/tools/configurator.sh b/tools/configurator.sh index 011df723..d4bedb5e 100755 --- a/tools/configurator.sh +++ b/tools/configurator.sh @@ -1240,7 +1240,6 @@ 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" \