mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
11 lines
441 B
Bash
11 lines
441 B
Bash
#!/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
|
|
|
|
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
|