mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
oopsh, vewwy important fugbix now
This commit is contained in:
parent
17925795bc
commit
93716a23be
@ -198,7 +198,7 @@ class PackageTree:
|
|||||||
tree for inclusion into an installer. """
|
tree for inclusion into an installer. """
|
||||||
|
|
||||||
def __init__(self, platform, hostDir, hostUrl):
|
def __init__(self, platform, hostDir, hostUrl):
|
||||||
self.platform = ""
|
self.platform = platform
|
||||||
self.hosts = {}
|
self.hosts = {}
|
||||||
self.packages = {}
|
self.packages = {}
|
||||||
self.hostUrl = hostUrl
|
self.hostUrl = hostUrl
|
||||||
@ -413,6 +413,7 @@ class Installer:
|
|||||||
xpackage.SetAttribute('name', package.packageName)
|
xpackage.SetAttribute('name', package.packageName)
|
||||||
if package.platform:
|
if package.platform:
|
||||||
xpackage.SetAttribute('platform', package.platform)
|
xpackage.SetAttribute('platform', package.platform)
|
||||||
|
assert package.platform == platform
|
||||||
if package.packageVersion:
|
if package.packageVersion:
|
||||||
xpackage.SetAttribute('version', version)
|
xpackage.SetAttribute('version', version)
|
||||||
xpackage.SetAttribute('filename', package.packageName + "/" + package.packageVersion + "/" + package.descFileBasename)
|
xpackage.SetAttribute('filename', package.packageName + "/" + package.packageVersion + "/" + package.descFileBasename)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user