mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-07 13:30:38 +00:00
Workaround for nant on linux.
This commit is contained in:
parent
0a5d09a9c0
commit
9d1fb03f8b
BIN
Build/Build.exe
BIN
Build/Build.exe
Binary file not shown.
|
@ -290,7 +290,7 @@ namespace OpenTK.Build
|
||||||
static void ExecuteProcess(string path, string args)
|
static void ExecuteProcess(string path, string args)
|
||||||
{
|
{
|
||||||
Process p = new Process();
|
Process p = new Process();
|
||||||
if (Environment.OSVersion.Platform == PlatformID.Unix)
|
if (Environment.OSVersion.Platform == PlatformID.Unix && !path.ToLower().Contains("nant"))
|
||||||
{
|
{
|
||||||
p.StartInfo.FileName = "mono";
|
p.StartInfo.FileName = "mono";
|
||||||
p.StartInfo.Arguments = path + " " + args;
|
p.StartInfo.Arguments = path + " " + args;
|
||||||
|
|
Loading…
Reference in a new issue