Fix CA1839
This commit is contained in:
@@ -86,7 +86,7 @@ namespace OpenRA.WindowsLauncher
|
||||
|
||||
static int RunInnerLauncher(string[] args)
|
||||
{
|
||||
var launcherPath = Process.GetCurrentProcess().MainModule.FileName;
|
||||
var launcherPath = Environment.ProcessPath;
|
||||
var launcherArgs = args.ToList();
|
||||
|
||||
if (!launcherArgs.Any(x => x.StartsWith("Engine.LaunchPath=", StringComparison.Ordinal)))
|
||||
|
||||
Reference in New Issue
Block a user