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