mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
STEAM_SYNC: a restart of RetroDECK is not needed now
This commit is contained in:
parent
ed136a983c
commit
ea4b88a9b8
|
@ -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/")"
|
||||
|
|
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue