summarylogtreecommitdiffstats
path: root/sm64ex-xdg
blob: b5fe20ca08402a74cd84a26462617a7b40d1cb66 (plain)
1
2
3
4
5
6
#!/bin/sh
set -e
XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
[ -d "$XDG_DATA_HOME/sm64ex" ] || mkdir "$XDG_DATA_HOME/sm64ex"
cd "$XDG_DATA_HOME/sm64ex"
/usr/bin/sm64ex.bin "$@"