From ba652ab7801e446156e560806d582958425a2b59 Mon Sep 17 00:00:00 2001 From: Peter Melnichenko Date: Sat, 30 Apr 2016 20:55:44 +0300 Subject: [PATCH] Don't elevate luarocks installer on Windows if possible --- hererocks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hererocks.py b/hererocks.py index 8150c98..93093eb 100755 --- a/hererocks.py +++ b/hererocks.py @@ -1278,6 +1278,8 @@ class LuaRocks(Program): # Since LuaRocks 2.1.2 if "/NOREG" in help_text: args += ["/NOREG", "/Q"] + if "/NOADMIN" in help_text: + args += ["/NOADMIN"] run(args)