From cc7e2b7bbcce81c0db63756304141f3d51cad49a Mon Sep 17 00:00:00 2001 From: Steam Deck User Date: Wed, 22 Jun 2022 22:16:30 +0200 Subject: [PATCH] ES-DE: reset settings while updating --- retrodeck.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/retrodeck.sh b/retrodeck.sh index 7f9ce114..6713191e 100644 --- a/retrodeck.sh +++ b/retrodeck.sh @@ -165,6 +165,7 @@ post_update() { dir_prep "$rdhome/.downloaded_media" "/var/config/emulationstation/.emulationstation/downloaded_media" dir_prep "$rdhome/.themes" "/var/config/emulationstation/.emulationstation/themes" mkdir -pv $rdhome/.logs #this was added later, maybe safe to remove in a few versions + cp -fv /app/retrodeck/es_settings.xml /var/config/emulationstation/.emulationstation/es_settings.xml #this is resetting es_systems, now we need it but in the future I should think a better solution ra_init standalones_init tools_init @@ -249,7 +250,7 @@ finit() { mkdir -pv $rdhome/.logs # XMLSTARLET HERE - cp -f /app/retrodeck/es_settings.xml /var/config/emulationstation/.emulationstation/es_settings.xml + cp -fv /app/retrodeck/es_settings.xml /var/config/emulationstation/.emulationstation/es_settings.xml # ES-DE preparing themes and scraped folders dir_prep "$rdhome/.downloaded_media" "/var/config/emulationstation/.emulationstation/downloaded_media"