mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
Hopefully this will fix the problems on Linux with makensis
This commit is contained in:
parent
a6d0e9765a
commit
a5c746b5d7
@ -936,14 +936,13 @@ class Installer:
|
||||
nsi.write('SectionEnd')
|
||||
nsi.close()
|
||||
|
||||
options = ["V2"]
|
||||
cmd = "\"" + makensis + "\""
|
||||
for o in options:
|
||||
cmd = [makensis]
|
||||
for o in ["V2"]:
|
||||
if sys.platform.startswith("win"):
|
||||
cmd += " /" + o
|
||||
cmd.append("/" + o)
|
||||
else:
|
||||
cmd += " -" + o
|
||||
cmd += " \"" + nsifile.toOsSpecific() + "\""
|
||||
cmd.append("-" + o)
|
||||
cmd.append(nsifile.toOsSpecific())
|
||||
print cmd
|
||||
try:
|
||||
retcode = subprocess.call(cmd, shell = False)
|
||||
|
Loading…
x
Reference in New Issue
Block a user