mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
Minor fix for plugin/runtime packaging
This commit is contained in:
parent
68fb873a80
commit
4b6ef91cea
@ -4127,7 +4127,7 @@ def MakeRuntime():
|
|||||||
oscmd("rm -rf %s" % BracketNameWithQuotes(GetOutputDir()+"/tmp/bundle"))
|
oscmd("rm -rf %s" % BracketNameWithQuotes(GetOutputDir()+"/tmp/bundle"))
|
||||||
else:
|
else:
|
||||||
plugfile = CalcLocation("nppanda3d.dll", None)
|
plugfile = CalcLocation("nppanda3d.dll", None)
|
||||||
CopyFile(plugindir + os.path.basename(plugfile), plugfile)
|
CopyFile(plugindir + "nppanda3d.dmg", plugfile)
|
||||||
|
|
||||||
# Copy the important libraries to built/rlib/.
|
# Copy the important libraries to built/rlib/.
|
||||||
CopyFile(GetOutputDir()+"/rlib/Config.prc", GetOutputDir()+"/etc/Config.prc")
|
CopyFile(GetOutputDir()+"/rlib/Config.prc", GetOutputDir()+"/etc/Config.prc")
|
||||||
@ -4172,7 +4172,7 @@ def MakeRuntime():
|
|||||||
if (not sys.platform.startswith("win")):
|
if (not sys.platform.startswith("win")):
|
||||||
if (os.path.exists("runtime_%s_%s.tar.bz2" % (RUNTIME_PLATFORM, RUNTIME_VERSION))):
|
if (os.path.exists("runtime_%s_%s.tar.bz2" % (RUNTIME_PLATFORM, RUNTIME_VERSION))):
|
||||||
os.remove("runtime_%s_%s.tar.bz2" % (RUNTIME_PLATFORM, RUNTIME_VERSION))
|
os.remove("runtime_%s_%s.tar.bz2" % (RUNTIME_PLATFORM, RUNTIME_VERSION))
|
||||||
oscmd("cd " + GetOutputDir() + "/stage/ && tar -cjvf " + os.getcwd() + "/runtime.tar.bz2 coreapi panda3d")
|
oscmd("cd " + GetOutputDir() + "/stage/ && tar -cjvf " + os.getcwd() + ("/runtime_%s_%s.tar.bz2 coreapi panda3d plugin" % (RUNTIME_PLATFORM, RUNTIME_VERSION)))
|
||||||
|
|
||||||
if (RUNTIME != 0):
|
if (RUNTIME != 0):
|
||||||
MakeRuntime()
|
MakeRuntime()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user