Fix OpenRA.Utility not being able to locate mod assemblies on Windows. Fixes #4498

This commit is contained in:
ScottNZ
2014-02-22 13:15:52 +13:00
parent 1e1eea9619
commit 945a7121e4

View File

@@ -39,6 +39,8 @@ namespace OpenRA.Utility
{
if (args.Length == 0) { PrintUsage(); return; }
AppDomain.CurrentDomain.AssemblyResolve += FileSystem.ResolveAssembly;
Log.LogPath = Platform.SupportDir + "Logs" + Path.DirectorySeparatorChar;
try