Change some echoes to logs

This commit is contained in:
icenine451 2024-06-29 15:38:16 -04:00
parent 651896d881
commit 58615bb9d5
2 changed files with 5 additions and 5 deletions

View file

@ -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"

View file

@ -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