mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
FRAMEWORK: added BoilR to reset emulator
This commit is contained in:
parent
8562831922
commit
9f8a2b202e
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue