STEAM_SYNC: a restart of RetroDECK is not needed now
Some checks are pending
Build RetroDECK / Build_RetroDECK (push) Waiting to run
Build RetroDECK / GitHub-publish (push) Blocked by required conditions
Build RetroDECK / Automated_Tests (push) Blocked by required conditions

This commit is contained in:
XargonWan 2025-01-29 11:26:15 +09:00
parent ed136a983c
commit ea4b88a9b8
2 changed files with 4 additions and 4 deletions

View file

@ -923,7 +923,7 @@ quit_retrodeck() {
pkill -f "es-de"
# if steam sync is on do the magic
if [[ $steam_sync == "true" ]]; then
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/")"

View file

@ -1343,7 +1343,7 @@ configurator_about_retrodeck_dialog() {
}
configurator_add_steam() {
if [[ $(get_setting_value $rd_conf "steam_sync" retrodeck "options") == "true" ]]; then
if [[ $(get_setting_value "$rd_conf" "steam_sync" retrodeck "options") == "true" ]]; then
zenity --question \
--no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
--title "RetroDECK Configurator - RetroDECK Steam Syncronization" \
@ -1371,7 +1371,7 @@ configurator_add_steam() {
}
enable_steam_sync() {
set_setting_value $rd_conf "steam_sync" "true" retrodeck "options"
set_setting_value "$rd_conf" "steam_sync" "true" retrodeck "options"
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" \
@ -1380,7 +1380,7 @@ enable_steam_sync() {
}
disable_steam_sync() {
set_setting_value $rd_conf "steam_sync" "false" retrodeck "options"
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" \