Select last mod at start of launcher. Don't run download action elevated.

This commit is contained in:
Matthew Bowra-Dean
2010-11-28 23:11:34 +13:00
parent 83f67a9d48
commit ec5b9a1150
4 changed files with 33 additions and 24 deletions

View File

@@ -101,7 +101,7 @@ namespace OpenRA.Launcher
string[] args = e.Argument as string[];
string url = args[0];
string dest = args[1];
var p = UtilityProgram.CallWithAdmin("--download-url", url, dest);
var p = UtilityProgram.Call("--download-url", url, dest);
Regex r = new Regex(@"(\d{1,3})% (\d+)/(\d+) bytes");
NamedPipeClientStream pipe = new NamedPipeClientStream(".", "OpenRA.Utility", PipeDirection.In);