summaryrefslogtreecommitdiff
path: root/templates/wine
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
>René 'Necoro' Neumann2-24/+34 2017-02-26Introduce enum fieldsRené 'Necoro' Neumann1-2/+31 2017-02-26Introduce the closureRené 'Necoro' Neumann2-3/+102 2017-02-26Some repr and str improvements on the modelRené 'Necoro' Neumann1-3/+25 2017-02-26Move logging to extra functionRené 'Necoro' Neumann1-5/+7 2017-02-26Include sqllite closure extension in build processRené 'Necoro' Neumann4-2/+1001 2017-02-26More tag handlingRené 'Necoro' Neumann2-3/+82 2017-02-25More prefix workRené 'Necoro' Neumann3-9/+96 2017-02-25Use Peewee instead of SQLAlchemyRené 'Necoro' Neumann5-121/+96 2016-08-16FixRené 'Necoro' Neumann1-1/+1 2016-08-16Use current setuputils flowRené 'Necoro' Neumann2-0/+17 2016-08-16Basic CLIRené 'Necoro' Neumann3-0/+33 2016-08-15Initial model and sqlalchemy setupRené 'Necoro' Neumann3-0/+104