summarylogtreecommitdiffstats
path: root/a7800-starter.sh
blob: f0f638b85adabecc39343ff08646a548c73b8628 (plain)
1
2
3
4
5
#!/bin/sh

[[ -d ~/.a7800 ]] || mkdir -p -m 760 ~/.a7800/roms
[[ -d ~/.a7800/a7800.ini ]] || cd ~/.a7800 && /opt/a7800/a7800 -createconfig
cd ~/.a7800 && exec /opt/a7800/a7800 "$@" &>/dev/null &