Authenticate windows commands. Untested.
This commit is contained in:
@@ -172,5 +172,20 @@ namespace OpenRA.Utility
|
||||
|
||||
Console.WriteLine(n.Value);
|
||||
}
|
||||
|
||||
public static void AuthenticateAndExtractZip(string[] args)
|
||||
{
|
||||
Util.CallWithAdmin("--extract-zip \"{0}\" \"{1}\"".F(args[1], args[2]));
|
||||
}
|
||||
|
||||
public static void AuthenticateAndInstallRAPackages(string[] args)
|
||||
{
|
||||
Util.CallWithAdmin("--install-ra-packages \"{0}\"".F(args[1]));
|
||||
}
|
||||
|
||||
public static void AuthenticateAndInstallCncPackages(string[] args)
|
||||
{
|
||||
Util.CallWithAdmin("--install-cnc-packages \"{0}\"".F(args[1]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user