mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -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.write('SectionEnd')
|
||||||
nsi.close()
|
nsi.close()
|
||||||
|
|
||||||
options = ["V2"]
|
cmd = [makensis]
|
||||||
cmd = "\"" + makensis + "\""
|
for o in ["V2"]:
|
||||||
for o in options:
|
|
||||||
if sys.platform.startswith("win"):
|
if sys.platform.startswith("win"):
|
||||||
cmd += " /" + o
|
cmd.append("/" + o)
|
||||||
else:
|
else:
|
||||||
cmd += " -" + o
|
cmd.append("-" + o)
|
||||||
cmd += " \"" + nsifile.toOsSpecific() + "\""
|
cmd.append(nsifile.toOsSpecific())
|
||||||
print cmd
|
print cmd
|
||||||
try:
|
try:
|
||||||
retcode = subprocess.call(cmd, shell = False)
|
retcode = subprocess.call(cmd, shell = False)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user