diff options
Diffstat (limited to 'Mac/Lib')
-rwxr-xr-x | Mac/Lib/bundlebuilder.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Mac/Lib/bundlebuilder.py b/Mac/Lib/bundlebuilder.py index 70f3da8..70b1bd3 100755 --- a/Mac/Lib/bundlebuilder.py +++ b/Mac/Lib/bundlebuilder.py @@ -86,7 +86,7 @@ class BundleBuilder(Defaults): # The type of the bundle. type = "APPL" # The creator code of the bundle. - creator = "????" + creator = None # List of files that have to be copied to <bundle>/Contents/Resources. resources = [] @@ -121,6 +121,11 @@ class BundleBuilder(Defaults): plist = self.plist plist.CFBundleName = self.name plist.CFBundlePackageType = self.type + if self.creator is None: + if hasattr(plist, "CFBundleSignature"): + self.creator = plist.CFBundleSignature + else: + self.creator = "????" plist.CFBundleSignature = self.creator def build(self): |