Change logging in add_retrodeck_to_steam because the output was misleading

This commit is contained in:
icenine451 2025-03-31 14:56:40 -04:00
parent 5b9c9fc9e2
commit bc31653c46

View file

@ -1376,12 +1376,13 @@ open_component(){
add_retrodeck_to_steam(){ add_retrodeck_to_steam(){
log i "Adding RetroDECK to Steam" log i "Checking if user wants to add RetroDECK to Steam"
rd_zenity --question --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --title "RetroDECK" --cancel-label="No" --ok-label "Yes" \ rd_zenity --question --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --title "RetroDECK" --cancel-label="No" --ok-label "Yes" \
--text="Do you want to add RetroDECK to Steam?" --text="Do you want to add RetroDECK to Steam?"
if [ $? == 0 ]; then if [ $? == 0 ]; then
( (
log i "RetroDECK has been added to Steam"
steam-rom-manager enable --names "RetroDECK Launcher" steam-rom-manager enable --names "RetroDECK Launcher"
steam-rom-manager add steam-rom-manager add
) | ) |
@ -1391,8 +1392,6 @@ add_retrodeck_to_steam(){
--text="Please wait while RetroDECK is being added to Steam...\n\n" --text="Please wait while RetroDECK is being added to Steam...\n\n"
rd_zenity --info --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --title "RetroDECK" --text="RetroDECK has been added to Steam.\n\nPlease close and reopen Steam to see the changes." rd_zenity --info --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --title "RetroDECK" --text="RetroDECK has been added to Steam.\n\nPlease close and reopen Steam to see the changes."
fi fi
log i "RetroDECK has been added to Steam"
} }
repair_paths() { repair_paths() {