mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-01-30 20:15:38 +00:00
Update Cheevos to use internal functions
This commit is contained in:
parent
e21beab26c
commit
b42d046c20
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue