From 58615bb9d5eaa95e117f9d3597bef40ea669806f Mon Sep 17 00:00:00 2001 From: icenine451 Date: Sat, 29 Jun 2024 15:38:16 -0400 Subject: [PATCH] Change some echoes to logs --- functions/multi_user.sh | 6 +++--- functions/presets.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/functions/multi_user.sh b/functions/multi_user.sh index 10e31e06..2e015cc4 100644 --- a/functions/multi_user.sh +++ b/functions/multi_user.sh @@ -149,7 +149,7 @@ multi_user_determine_current_user() { multi_user_return_to_single_user() { single_user="$1" - echo "Returning to single-user mode for $single_user" + log i "Returning to single-user mode for $single_user" unlink "$saves_folder" unlink "$states_folder" unlink "$rd_conf" @@ -182,7 +182,7 @@ multi_user_return_to_single_user() { multi_user_setup_new_user() { # TODO: RPCS3 one-offs - echo "Setting up new user" + log i "Setting up new user" unlink "$saves_folder" unlink "$states_folder" dir_prep "$multi_user_data_folder/$SteamAppUser/saves" "$saves_folder" @@ -220,7 +220,7 @@ multi_user_setup_new_user() { } multi_user_link_current_user_files() { - echo "Linking existing user" + log i "Linking existing user" ln -sfT "$multi_user_data_folder/$SteamAppUser/saves" "$saves_folder" ln -sfT "$multi_user_data_folder/$SteamAppUser/states" "$states_folder" ln -sfT "$multi_user_data_folder/$SteamAppUser/config/retrodeck/retrodeck.cfg" "$rd_conf" diff --git a/functions/presets.sh b/functions/presets.sh index 92dd868d..aac3c321 100644 --- a/functions/presets.sh +++ b/functions/presets.sh @@ -28,7 +28,7 @@ change_preset_dialog() { --title "RetroDECK Configurator Utility - Presets Configuration" \ --text="Setting up your presets, please wait..." else - echo "No choices made" + log i "No preset choices made" fi } @@ -191,7 +191,7 @@ build_preset_config() { ;; * ) - echo "Other data: $action $read_preset $read_setting_name $new_setting_value $section" # DEBUG + log d "Other data: $action $read_preset $read_setting_name $new_setting_value $section" # DEBUG ;; esac