mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-23 06:25:39 +00:00
11 lines
431 B
Bash
11 lines
431 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/.retrodeck.log
|
|
~/retrodeck/bios/pico-8/pico8 -desktop ~/retrodeck/screenshots -windowed 0 -home ~/retrodeck/bios/pico-8 -root_path $pico_folder -splore >> ~/retrodeck/.retrodeck.log
|