blob: 8ebc64ce0a975ba2cb67a4b19762877f93f51d7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
EENV[WINEPREFIX]='eval echo $PREFIX'
PREFIX=${PREFIX:-$GAME}
# run wine and therefore the game
wine_run () {
# cd into dir
local dir="$(exc winepath -u $EXE)"
exc cd "${dir:h}"
# start game
exc wine start ${dir:t} "$ARGS"
# wait for wine to shutdown
exc wineserver -w
}
OVERRIDE run
# vim: ft=sh
|