fix utility crashing on windows (hack)

This commit is contained in:
Chris Forbes
2011-04-09 14:25:22 +12:00
parent abb895d8be
commit 260b95f96d

View File

@@ -63,7 +63,7 @@ namespace OpenRA.Utility
var supportDir = GetNamedArg(args, "--SupportDir");
if (supportDir != null)
{
Log.LogPath = supportDir + Path.DirectorySeparatorChar + "Logs" + Path.DirectorySeparatorChar;
Log.LogPath = Path.Combine(supportDir.Replace("\"", ""), "Logs");
Console.WriteLine("LogPath: {0}", Log.LogPath);
}