mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
LOG: improved
This commit is contained in:
parent
113b8316bf
commit
190d5db67f
16
retrodeck.sh
16
retrodeck.sh
|
@ -3,7 +3,11 @@
|
|||
# Steam Deck SD path: /run/media/mmcblk0p1
|
||||
|
||||
# Create log
|
||||
exec > ~/retrodeck/retrodeck.log 2>&1
|
||||
#exec > ~/retrodeck/.retrodeck.log 2>&1
|
||||
exec 3>&1 4>&2
|
||||
trap 'exec 2>&4 1>&3' 0 1 2 3
|
||||
echo "$(date) : part 1 - start" >&3
|
||||
exec 1>~/retrodeck/.retrodeck.log 2>&1
|
||||
|
||||
is_mounted() {
|
||||
mount | awk -v DIR="$1" '{if ($3 == DIR) { exit 0}} ENDFILE{exit -1}'
|
||||
|
@ -92,12 +96,16 @@ then
|
|||
cp $emuconfigs/retroarch.cfg /var/config/retroarch/
|
||||
|
||||
# Yuzu
|
||||
find ~/retrodeck/bios/switch -xtype l -exec rm {} \; # removing dead symlinks
|
||||
# initializing the keys folder
|
||||
mkdir -p ~/retrodeck/bios/switch/keys
|
||||
rm -rf /var/data/yuzu/keys
|
||||
ln -s ~/retrodeck/bios/switch/keys /var/data/yuzu/keys
|
||||
mkdir -p /var/data/yuzu/nand/system/Contents/registered/
|
||||
rm ~/retrodeck/bios/switch/registered
|
||||
ln -s /var/data/yuzu/nand/system/Contents/registered/ ~/retrodeck/bios/switch/registered
|
||||
# nitializing the firmware folder
|
||||
mkdir -p ~/retrodeck/bios/switch/registered
|
||||
rm -rf /var/data/yuzu/nand/system/Contents/registered/
|
||||
ln -s ~/retrodeck/bios/switch/registered /var/data/yuzu/nand/system/Contents/registered/
|
||||
# configuring Yuzu
|
||||
cp $emuconfigs/yuzu-qt-config.ini /var/config/yuzu/qt-config.ini
|
||||
|
||||
# Dolphin
|
||||
|
|
Loading…
Reference in a new issue