From 72700143205f579dbf15915de55d910237b581d8 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Fri, 17 Jan 2025 09:37:25 +0900 Subject: [PATCH] POST_UPDATE: ask the user to reset Duckstation --- functions/post_update.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/functions/post_update.sh b/functions/post_update.sh index 736ad542..729ed119 100644 --- a/functions/post_update.sh +++ b/functions/post_update.sh @@ -465,6 +465,11 @@ post_update() { install_retrodeck_controller_profile fi + if [[ $(configurator_generic_question_dialog "RetroDECK Duckstation Reset" "Duckstation has updated the hotkeys configuration. Do you want to reset it to RetroDECK default settings to ensure compatibility?\n\nIf you have made your own changes to the Duckstation config, you can decline this reset, but the emulator might not work correctly.\nYou can always reset Duckstation later from the Configurator, Troubleshooting section.") == "true" ]]; then + log d "User agreed to Duckstation reset" + prepare_component "reset" "duckstation" + fi + update_splashscreens deploy_helper_files build_retrodeck_current_presets