Prevent trying to load VB.NET assembly on Linux
This commit is contained in:
parent
a0c35b397e
commit
f6dde5914d
|
@ -212,7 +212,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
new SingleInstanceController(args).Run();
|
InitAndRunSingleInstance(args);
|
||||||
}
|
}
|
||||||
catch (ObjectDisposedException)
|
catch (ObjectDisposedException)
|
||||||
{
|
{
|
||||||
|
@ -351,5 +351,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
GlobalWin.ExitCode = ((MainForm)MainForm).ProgramRunLoop();
|
GlobalWin.ExitCode = ((MainForm)MainForm).ProgramRunLoop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static void InitAndRunSingleInstance(string[] args) => new SingleInstanceController(args).Run();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue