We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3fb324 commit 50f8509Copy full SHA for 50f8509
1 file changed
Modules/TUIO/Build/compile.sh
@@ -2,14 +2,15 @@ printf "\n\e[32mCompiling TUIOSharp.\e[39m\n"
2
3
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4
SLN="$DIR/../TUIOsharp/TUIOsharp.sln"
5
+WIN="$(expr substr $(uname -s) 1 10)"
6
7
# Mac
8
if [ "$(uname)" == "Darwin" ]; then
9
/Applications/Unity/MonoDevelop.app/Contents/MacOS/mdtool build --t:Clean --c:Release $SLN
10
/Applications/Unity/MonoDevelop.app/Contents/MacOS/mdtool build --t:Build --c:Release $SLN
11
12
# Windows
-elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW32_NT" ]; then
13
+elif [ "$WIN" == "MINGW32_NT" ] || [ "$WIN" == "MINGW64_NT" ]; then
14
/c/Windows/Microsoft.NET/Framework/v4.0.30319/msbuild.exe $SLN -p:Configuration=Release -clp:ErrorsOnly
15
fi
16
0 commit comments