mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
Consolidate steam_sync.sh sourcing
This commit is contained in:
parent
080030ec7a
commit
5da28562d4
|
@ -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
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue