mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-30 01:25:55 +00:00
Add new variables to be written to rd_conf
This commit is contained in:
parent
f4c5f2c987
commit
4f8f771f15
10
global.sh
10
global.sh
|
@ -34,6 +34,16 @@ conf_write() {
|
|||
sed -i "s%roms_folder=.*%roms_folder=$roms_folder%" "$rd_conf"
|
||||
fi
|
||||
|
||||
if [ ! -z "$saves_folder" ]
|
||||
then
|
||||
sed -i "s%saves_folder=.*%saves_folder=$saves_folder%" "$rd_conf"
|
||||
fi
|
||||
|
||||
if [ ! -z "$states_folder" ]
|
||||
then
|
||||
sed -i "s%states_folder=.*%states_folder=$states_folder%" "$rd_conf"
|
||||
fi
|
||||
|
||||
if [ ! -z "$media_folder" ]
|
||||
then
|
||||
sed -i "s%media_folder=.*%media_folder=$media_folder%" "$rd_conf"
|
||||
|
|
Loading…
Reference in a new issue