Subscribe to CurrentDomain.AssemblyResolve on Unix
This is so DLLs not in the executing directory can be found without having to copy to local, i.e. Nlua.dll and KopiLua.dll --Asnivor
This commit is contained in:
parent
357cdf5df7
commit
3c8c761cca
|
@ -75,6 +75,11 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
//We need to do it here too... otherwise people get exceptions when externaltools we distribute try to startup
|
||||
}
|
||||
else
|
||||
{
|
||||
// for Unix, skip everything else and just wire up the event handler
|
||||
AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve;
|
||||
}
|
||||
}
|
||||
|
||||
[STAThread]
|
||||
|
|
Loading…
Reference in New Issue