1 2 3 4 5
#!/bin/bash export WINEARCH=win32 export WINEPREFIX=$(realpath $(dirname $0)/wine) wine cmd /c c:\\ogagent\\build.bat chmod -x $(dirname $0)/../OGAgentSetup*.exe