diff options
Diffstat (limited to 'games/nxengine/files/nxengine.in')
-rw-r--r-- | games/nxengine/files/nxengine.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/games/nxengine/files/nxengine.in b/games/nxengine/files/nxengine.in new file mode 100644 index 000000000000..474fa490c78a --- /dev/null +++ b/games/nxengine/files/nxengine.in @@ -0,0 +1,10 @@ +#!/bin/sh +# Wrap nx: it finds game data files +# relative to itself + +if [ ! -d "$HOME"/.nxengine ]; then + mkdir -p "$HOME"/.nxengine + ln -s %%DATADIR%%/* "$HOME"/.nxengine/ +fi +cd "$HOME"/.nxengine && exec ./nx "$@" + |