Don't elevate luarocks installer on Windows if possible
This commit is contained in:
parent
c6599907dd
commit
ba652ab780
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user