mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
don't remove bundle, we might need it
This commit is contained in:
parent
a927aedf52
commit
3c05002019
@ -37,6 +37,10 @@ def makeBundle(startDir):
|
|||||||
|
|
||||||
# Generate the bundle directory structure
|
# Generate the bundle directory structure
|
||||||
rootFilename = Filename(fstartDir, 'bundle')
|
rootFilename = Filename(fstartDir, 'bundle')
|
||||||
|
|
||||||
|
if os.path.exists(rootFilename.toOsSpecific()):
|
||||||
|
shutil.rmtree(rootFilename.toOsSpecific())
|
||||||
|
|
||||||
bundleFilename = Filename(rootFilename, 'nppanda3d.plugin')
|
bundleFilename = Filename(rootFilename, 'nppanda3d.plugin')
|
||||||
plistFilename = Filename(bundleFilename, 'Contents/Info.plist')
|
plistFilename = Filename(bundleFilename, 'Contents/Info.plist')
|
||||||
plistFilename.makeDir()
|
plistFilename.makeDir()
|
||||||
@ -71,7 +75,6 @@ def buildDmg(startDir):
|
|||||||
'output' : output.toOsSpecific(),
|
'output' : output.toOsSpecific(),
|
||||||
}
|
}
|
||||||
os.system(cmd)
|
os.system(cmd)
|
||||||
shutil.rmtree(rootFilename.toOsSpecific())
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user