1 2 3 4 5 6 7 8
#!/bin/bash export WINEPREFIX="$HOME"/.codmw2/wine if [ ! -d "$HOME"/.codmw2 ] ; then mkdir -p "$HOME"/.codmw2/wine wineboot -u fi cd /opt/codmw2 /usr/bin/wine iw4x.exe