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
|
# Since LuaRocks 2.1.2
|
||||||
if "/NOREG" in help_text:
|
if "/NOREG" in help_text:
|
||||||
args += ["/NOREG", "/Q"]
|
args += ["/NOREG", "/Q"]
|
||||||
|
if "/NOADMIN" in help_text:
|
||||||
|
args += ["/NOADMIN"]
|
||||||
|
|
||||||
run(args)
|
run(args)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user