mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 23:45:39 +00:00
GZDOOM: reset script
This commit is contained in:
parent
bc029d88a5
commit
13720e8ead
|
@ -722,7 +722,12 @@ prepare_emulator() {
|
||||||
echo "----------------------"
|
echo "----------------------"
|
||||||
|
|
||||||
mkdir -p "/var/config/gzdoom"
|
mkdir -p "/var/config/gzdoom"
|
||||||
|
mkdir -p "/var/data/gzdoom"
|
||||||
cp -fvr "$emuconfigs/gzdoom/gzdoom.ini" "/var/config/gzdoom"
|
cp -fvr "$emuconfigs/gzdoom/gzdoom.ini" "/var/config/gzdoom"
|
||||||
|
cp -fvr "$emuconfigs/gzdoom/gzdoom.pk3" "/var/data/gzdoom"
|
||||||
|
|
||||||
|
sed -i 's#RETRODECKROMSDIR#'$roms_folder'#g' "/var/config/gzdoom/gzdoom.ini" # This is an unfortunate one-off because set_setting_value does not currently support JSON
|
||||||
|
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
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue