diff --git a/functions/other_functions.sh b/functions/other_functions.sh index e455f2ce..a81c83ab 100644 --- a/functions/other_functions.sh +++ b/functions/other_functions.sh @@ -1376,12 +1376,13 @@ open_component(){ 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" \ --text="Do you want to add RetroDECK to Steam?" if [ $? == 0 ]; then ( + log i "RetroDECK has been added to Steam" steam-rom-manager enable --names "RetroDECK Launcher" steam-rom-manager add ) | @@ -1391,8 +1392,6 @@ add_retrodeck_to_steam(){ --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." fi - - log i "RetroDECK has been added to Steam" } repair_paths() {