From 6c9534ba95f814349074fec12fe7a96e2501924d Mon Sep 17 00:00:00 2001 From: icenine451 Date: Sat, 25 Feb 2023 11:02:05 -0500 Subject: [PATCH] Stop resetting all configs every update by default --- post_update.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/post_update.sh b/post_update.sh index ecd6a2c2..2dae88c3 100644 --- a/post_update.sh +++ b/post_update.sh @@ -179,11 +179,18 @@ post_update() { fi fi - # These commands are run every time, for now + # Everything within the following ( ) will happen behind the Zenity dialog. The save migration was a long process so it has its own individual dialogs. ( - ra_init - standalones_init + if [[ $prev_version -le "062" ]]; then + # In version 0.6.2b, the following changes were made that required config file updates/reset: + # Primehack preconfiguration completely redone. "Stop emulation" hotkey set to Start+Select, Xbox and Nintendo keymap profiles were created, Xbox set as default. + + primehack_init + fi + + # The following commands are run every time. + tools_init ) | zenity --icon-name=net.retrodeck.retrodeck --progress --no-cancel --pulsate --auto-close \