summarylogtreecommitdiffstats
path: root/4nec2.sh
blob: 894abb2b71a2205d3ebaedf4496704523e72f316 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

export WINEPREFIX="$HOME/.local/share/4nec2/prefix"
export WINEARCH="win32"

# install dependencies if they're not present
if [ ! -d "$WINEPREFIX" ]; then
    echo "running first-time setup of the wine prefix; this might take a while"
    wineboot -u
    winetricks vb6run dx8vb msflxgrd
fi

wine "$pkgdir/opt/4nec2/exe/4nec2.exe"