FRAMEWORK: added BoilR to reset emulator

This commit is contained in:
XargonWan 2024-01-14 11:14:21 +01:00
parent 8562831922
commit 9f8a2b202e

View file

@ -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