Switch to the newer Roslyn compiler on Linux/macOS.

This commit is contained in:
Paul Chote
2019-03-23 10:56:05 +00:00
committed by Oliver Brakmann
parent 5b00586de2
commit d53338ca5e
6 changed files with 7 additions and 31 deletions

View File

@@ -30,7 +30,7 @@ fi
function makelauncher()
{
sed "s|DISPLAY_NAME|$2|" WindowsLauncher.cs.in | sed "s|MOD_ID|$3|" | sed "s|FAQ_URL|${FAQ_URL}|" > WindowsLauncher.cs
mcs WindowsLauncher.cs -warn:4 -codepage:utf8 -warnaserror -out:"$1" -t:winexe ${LAUNCHER_LIBS} -win32icon:"$4"
csc WindowsLauncher.cs -warn:4 -warnaserror -out:"$1" -t:winexe ${LAUNCHER_LIBS} -win32icon:"$4"
rm WindowsLauncher.cs
mono "${SRCDIR}/fixheader.exe" "$1" > /dev/null
}