mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Don't tuck away the plugin installer in some directory
This commit is contained in:
parent
63a3dd051c
commit
ba606bd283
@ -4493,6 +4493,7 @@ def MakeInstallerNSIS(file, fullname, smdirectory, installdir):
|
|||||||
AddToPathEnv("PATH", GetOutputDir() + "\\bin")
|
AddToPathEnv("PATH", GetOutputDir() + "\\bin")
|
||||||
AddToPathEnv("PATH", GetOutputDir() + "\\plugins")
|
AddToPathEnv("PATH", GetOutputDir() + "\\plugins")
|
||||||
oscmd(SDK["PYTHONEXEC"] + " direct\\src\\plugin_installer\\make_installer.py --version %s" % VERSION)
|
oscmd(SDK["PYTHONEXEC"] + " direct\\src\\plugin_installer\\make_installer.py --version %s" % VERSION)
|
||||||
|
shutil.move("direct\\src\\plugin_installer\\p3d-setup.exe", file)
|
||||||
return
|
return
|
||||||
|
|
||||||
print "Building "+fullname+" installer. This can take up to an hour."
|
print "Building "+fullname+" installer. This can take up to an hour."
|
||||||
@ -4875,7 +4876,13 @@ if (INSTALLER != 0):
|
|||||||
dbg = ""
|
dbg = ""
|
||||||
if (GetOptimize() <= 2): dbg = "-dbg"
|
if (GetOptimize() <= 2): dbg = "-dbg"
|
||||||
if (platform.architecture()[0] == "64bit"):
|
if (platform.architecture()[0] == "64bit"):
|
||||||
|
if (RUNTIME):
|
||||||
|
MakeInstallerNSIS("Panda3D-Runtime-"+VERSION+dbg+"-x64.exe", "Panda3D", "Panda3D "+VERSION, "C:\\Panda3D-"+VERSION)
|
||||||
|
else:
|
||||||
MakeInstallerNSIS("Panda3D-"+VERSION+dbg+"-x64.exe", "Panda3D", "Panda3D "+VERSION, "C:\\Panda3D-"+VERSION)
|
MakeInstallerNSIS("Panda3D-"+VERSION+dbg+"-x64.exe", "Panda3D", "Panda3D "+VERSION, "C:\\Panda3D-"+VERSION)
|
||||||
|
else:
|
||||||
|
if (RUNTIME):
|
||||||
|
MakeInstallerNSIS("Panda3D-Runtime-"+VERSION+dbg+".exe", "Panda3D", "Panda3D "+VERSION, "C:\\Panda3D-"+VERSION)
|
||||||
else:
|
else:
|
||||||
MakeInstallerNSIS("Panda3D-"+VERSION+dbg+".exe", "Panda3D", "Panda3D "+VERSION, "C:\\Panda3D-"+VERSION)
|
MakeInstallerNSIS("Panda3D-"+VERSION+dbg+".exe", "Panda3D", "Panda3D "+VERSION, "C:\\Panda3D-"+VERSION)
|
||||||
elif (sys.platform == "linux2"):
|
elif (sys.platform == "linux2"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user