diff --git a/functions.sh b/functions.sh index 5311e61c..e504899b 100644 --- a/functions.sh +++ b/functions.sh @@ -83,7 +83,7 @@ move() { set_setting() { # Function for editing settings # USAGE: set_setting $setting_file $setting_name $new_setting_value $system (needed as different systems use different config file syntax) -# NOTES: Citra, Yuzu and RPCS3 have special conditions, see comments below +# NOTES: RPCS3 has special conditions, see comments below case $4 in diff --git a/tools/configurator.sh b/tools/configurator.sh index 6e415cab..d6562bc8 100644 --- a/tools/configurator.sh +++ b/tools/configurator.sh @@ -216,11 +216,11 @@ configurator_retroachivement_dialog() { user=${arrIN[0]} pass=${arrIN[1]} - #sed -i "s%cheevos_enable =.*%cheevos_enable = \"true\"%" $raconf - #sed -i "s%cheevos_username =.*%cheevos_username = \"$user\"%" $raconf - #sed -i "s%cheevos_password =.*%cheevos_password = \"$pass\"%" $raconf + #set_setting $raconf cheevos_enable true retroarch + #set_setting $raconf cheevos_username $user retroarch + #set_setting $raconf cheevos_password $pass retroarch - debug_dialog "sed -i "s%cheevos_enable =.*%cheevos_enable = \"true\"%" $raconf\n\nsed -i "s%cheevos_username =.*%cheevos_username = \"$user\"%" $raconf\n\nsed -i "s%cheevos_password =.*%cheevos_password = \"$pass\"%" $raconf" + debug_dialog "set_setting $raconf cheevos_enable true retroarch\n\nset_setting $raconf cheevos_username $user retroarch\n\nset_setting $raconf cheevos_password $pass retroarch" configurator_process_complete_dialog "logging in to RetroAchievements" }