summarylogtreecommitdiffstats
path: root/evewinetricks
blob: 3501b3cb89503a601253e38695946b2a9c293266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

EVECONF=$HOME/.config/CCP/EVE.conf
EVEDIR=$HOME/.local/lib/EVE

UCW=$(grep UseCustomWine $EVECONF | cut -d= -f2)
if [ "x$UCW" = "xtrue" ]; then
    WINEPATH=$(grep CustomWinePath $EVECONF | cut -d= -f2)
else
    echo "$(basename $0): Error: Custom wine not set!"
    exit 1
fi

env WINEPREFIX=$HOME/.local/lib/EVE/SharedCache/wineenv \
    WINE=$WINEPATH $(which winetricks) "$@"