fix utility crashing on windows (hack)
This commit is contained in:
@@ -63,7 +63,7 @@ namespace OpenRA.Utility
|
|||||||
var supportDir = GetNamedArg(args, "--SupportDir");
|
var supportDir = GetNamedArg(args, "--SupportDir");
|
||||||
if (supportDir != null)
|
if (supportDir != null)
|
||||||
{
|
{
|
||||||
Log.LogPath = supportDir + Path.DirectorySeparatorChar + "Logs" + Path.DirectorySeparatorChar;
|
Log.LogPath = Path.Combine(supportDir.Replace("\"", ""), "Logs");
|
||||||
Console.WriteLine("LogPath: {0}", Log.LogPath);
|
Console.WriteLine("LogPath: {0}", Log.LogPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user