From a2ee3a779abf99e1e445f8b165828c7a4e5974c1 Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 18 Oct 2009 16:50:15 +0000 Subject: [PATCH] Invoke make_installer.py for the windows runtime build --- makepanda/makepanda.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 59c163a4c3..02f66a9b62 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -1261,9 +1261,9 @@ def WriteConfigSettings(): if (RUNTIME): plugin_config["PANDA_PACKAGE_HOST_URL"] = "http://runtime.panda3d.org/" #plugin_config["P3D_PLUGIN_LOG_DIRECTORY"] = "" - #plugin_config["P3D_PLUGIN_LOG_BASENAME1"] = "panda3d_1" - #plugin_config["P3D_PLUGIN_LOG_BASENAME2"] = "panda3d_2" - #plugin_config["P3D_PLUGIN_LOG_BASENAME3"] = "panda3d_3" + plugin_config["P3D_PLUGIN_LOG_BASENAME1"] = "panda3d_1" + plugin_config["P3D_PLUGIN_LOG_BASENAME2"] = "panda3d_2" + plugin_config["P3D_PLUGIN_LOG_BASENAME3"] = "panda3d_3" plugin_config["P3D_PLUGIN_P3D_PLUGIN"] = "" plugin_config["P3D_PLUGIN_P3DPYTHON"] = "" @@ -4173,6 +4173,11 @@ except: ########################################################################################## def MakeInstallerNSIS(file, fullname, smdirectory, installdir): + if (RUNTIME): + # Invoke the make_installer script. + oscmd(SDK["PYTHONEXEC"] + " direct\\src\\plugin_installer\\make_installer.py") + return + print "Building "+fullname+" installer. This can take up to an hour." if (COMPRESSOR != "lzma"): print("Note: you are using zlib, which is faster, but lzma gives better compression.")