Switch macOS and Linux default toolchain to .NET 5.
This commit is contained in:
committed by
Matthias Mailänder
parent
15c926b6b9
commit
765944cfa2
@@ -1,2 +1,8 @@
|
||||
#!/bin/sh
|
||||
ENGINE_DIR=.. mono --debug bin/OpenRA.Utility.dll $@
|
||||
if command -v mono >/dev/null 2>&1 && [ "$(grep -c .NETCoreApp,Version= bin/OpenRA.Utility.dll)" = "0" ]; then
|
||||
RUNTIME_LAUNCHER="mono --debug"
|
||||
else
|
||||
RUNTIME_LAUNCHER="dotnet"
|
||||
fi
|
||||
|
||||
ENGINE_DIR=.. ${RUNTIME_LAUNCHER} bin/OpenRA.Utility.dll "$@"
|
||||
|
||||
Reference in New Issue
Block a user