From 9f8a2b202efca26fb9b1998bdc16530a10c42682 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Sun, 14 Jan 2024 11:14:21 +0100 Subject: [PATCH] FRAMEWORK: added BoilR to reset emulator --- functions/prepare_emulator.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/functions/prepare_emulator.sh b/functions/prepare_emulator.sh index 93deda18..d7352d69 100644 --- a/functions/prepare_emulator.sh +++ b/functions/prepare_emulator.sh @@ -735,6 +735,16 @@ prepare_emulator() { sed -i 's#RETRODECKSAVESDIR#'$saves_folder'#g' "/var/config/gzdoom/gzdoom.ini" # This is an unfortunate one-off because set_setting_value does not currently support JSON fi + if [[ "$emulator" =~ ^(boilr|BOILR|all)$ ]]; then + echo "----------------------" + echo "Initializing BOILR" + echo "----------------------" + + mkdir -p "/var/config/boilr" + cp -fvr "/app/libexec/steam-sync/config.toml" "/var/config/boilr" + + fi + # Update presets for all emulators after any reset or move if [[ ! "$emulator" == "retrodeck" ]]; then build_retrodeck_current_presets