RetroDECK/to-be-deleted/start-splore.sh

11 lines
441 B
Bash
Raw Normal View History

2022-04-27 07:20:39 +00:00
#!/bin/bash
if [ -d ~/retrodeck/roms/pico-8 ]; then
pico_folder=~/retrodeck/roms/pico-8
elif [ -d /run/media/mmcblk0p1/retrodeck/roms/pico-8 ]; then
pico_folder=/run/media/mmcblk0p1/retrodeck/roms/pico-8
fi
2022-05-21 13:22:46 +00:00
echo $pico_folder > ~/retrodeck/.logs/retrodeck.log
~/retrodeck/bios/pico-8/pico8 -desktop ~/retrodeck/screenshots -windowed 0 -home ~/retrodeck/bios/pico-8 -root_path $pico_folder -splore >> ~/retrodeck/.logs/retrodeck.log