Prevent trying to load VB.NET assembly on Linux

This commit is contained in:
YoshiRulz 2020-09-07 22:01:03 +10:00
parent 2a285af5ae
commit 9325e2f002
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 3 additions and 1 deletions

View File

@ -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();
}
}