From 260b95f96dd5e565e5f0042e177a7370b6d98376 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sat, 9 Apr 2011 14:25:22 +1200 Subject: [PATCH] fix utility crashing on windows (hack) --- OpenRA.Utility/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Utility/Program.cs b/OpenRA.Utility/Program.cs index 74a160c9ad..1de9795468 100644 --- a/OpenRA.Utility/Program.cs +++ b/OpenRA.Utility/Program.cs @@ -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); }