mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-29 09:05:42 +00:00
Started to populate the logs folder
This commit is contained in:
parent
98f498758e
commit
5345216d9b
|
@ -79,6 +79,7 @@ standalones_init() {
|
||||||
# initializing the firmware folder
|
# initializing the firmware folder
|
||||||
dir_prep "$rdhome/bios/switch/registered" "/var/data/yuzu/nand/system/Contents/registered"
|
dir_prep "$rdhome/bios/switch/registered" "/var/data/yuzu/nand/system/Contents/registered"
|
||||||
# configuring Yuzu
|
# configuring Yuzu
|
||||||
|
dir_prep "$rdhome/.logs/yuzu" "/var/data/yuzu/log"
|
||||||
mkdir -pv /var/config/yuzu/
|
mkdir -pv /var/config/yuzu/
|
||||||
cp -fvr $emuconfigs/yuzu/* /var/config/yuzu/
|
cp -fvr $emuconfigs/yuzu/* /var/config/yuzu/
|
||||||
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/yuzu/qt-config.ini
|
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/yuzu/qt-config.ini
|
||||||
|
@ -131,6 +132,7 @@ standalones_init() {
|
||||||
mkdir -pv /var/config/citra-emu/
|
mkdir -pv /var/config/citra-emu/
|
||||||
mkdir -pv "$rdhome/saves/n3ds/citra/nand/"
|
mkdir -pv "$rdhome/saves/n3ds/citra/nand/"
|
||||||
mkdir -pv "$rdhome/saves/n3ds/citra/sdmc/"
|
mkdir -pv "$rdhome/saves/n3ds/citra/sdmc/"
|
||||||
|
dir_prep "$rdhome/.logs/citra" "/var/data/citra-emu/log"
|
||||||
cp -fv $emuconfigs/citra-qt-config.ini /var/config/citra-emu/qt-config.ini
|
cp -fv $emuconfigs/citra-qt-config.ini /var/config/citra-emu/qt-config.ini
|
||||||
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/citra-emu/qt-config.ini
|
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/citra-emu/qt-config.ini
|
||||||
#TODO: do the same with roms folders after new variables is pushed (check even the others qt-emu)
|
#TODO: do the same with roms folders after new variables is pushed (check even the others qt-emu)
|
||||||
|
@ -183,6 +185,7 @@ standalones_init() {
|
||||||
|
|
||||||
ra_init() {
|
ra_init() {
|
||||||
dir_prep "$rdhome/bios" "/var/config/retroarch/system"
|
dir_prep "$rdhome/bios" "/var/config/retroarch/system"
|
||||||
|
dir_prep "$rdhome/.logs/retroarch" "/var/config/retroarch/logs"
|
||||||
mkdir -pv /var/config/retroarch/cores/
|
mkdir -pv /var/config/retroarch/cores/
|
||||||
cp /app/share/libretro/cores/* /var/config/retroarch/cores/
|
cp /app/share/libretro/cores/* /var/config/retroarch/cores/
|
||||||
cp -fv $emuconfigs/retroarch.cfg /var/config/retroarch/
|
cp -fv $emuconfigs/retroarch.cfg /var/config/retroarch/
|
||||||
|
@ -253,6 +256,7 @@ post_update() {
|
||||||
dir_prep "$themes_folder" "/var/config/emulationstation/.emulationstation/themes"
|
dir_prep "$themes_folder" "/var/config/emulationstation/.emulationstation/themes"
|
||||||
mkdir -pv $rdhome/.logs #this was added later, maybe safe to remove in a few versions
|
mkdir -pv $rdhome/.logs #this was added later, maybe safe to remove in a few versions
|
||||||
|
|
||||||
|
|
||||||
# Resetting es_systems, now we need it but in the future I should think a better solution, maybe with sed
|
# Resetting es_systems, now we need it but in the future I should think a better solution, maybe with sed
|
||||||
cp -fv /app/retrodeck/es_settings.xml /var/config/emulationstation/.emulationstation/es_settings.xml
|
cp -fv /app/retrodeck/es_settings.xml /var/config/emulationstation/.emulationstation/es_settings.xml
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue