mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 23:45:39 +00:00
Add missing UserThemeDir to existing es_settings
Disable Cheevos by default in Duckstation for preset functionality
This commit is contained in:
parent
e13062c062
commit
bc273e36aa
|
@ -182,6 +182,7 @@ post_update() {
|
|||
|
||||
set_setting_value "$es_settings" "ROMDirectory" "$roms_folder" "es_settings"
|
||||
set_setting_value "$es_settings" "MediaDirectory" "$media_folder" "es_settings"
|
||||
sed -i '$ a <string name="UserThemeDirectory" value="" />' "$es_settings" # Add new default line to existing file
|
||||
set_setting_value "$es_settings" "UserThemeDirectory" "$themes_folder" "es_settings"
|
||||
unlink "/var/config/emulationstation/ROMs"
|
||||
unlink "/var/config/emulationstation/.emulationstation/downloaded_media"
|
||||
|
@ -191,6 +192,7 @@ post_update() {
|
|||
set_setting_value "$raconf" "savestate_auto_save" "false" "retroarch"
|
||||
set_setting_value "$pcsx2conf" "SaveStateOnShutdown" "false" "pcsx2" "EmuCore"
|
||||
set_setting_value "$duckstationconf" "SaveStateOnExit" "false" "duckstation" "Main"
|
||||
set_setting_value "$duckstationconf" "Enabled" "false" "duckstation" "Cheevos"
|
||||
|
||||
prepare_emulator "reset" "cemu"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue