summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
Diffstat (limited to 'Mac')
-rwxr-xr-xMac/Lib/bundlebuilder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Lib/bundlebuilder.py b/Mac/Lib/bundlebuilder.py
index ffcda5b..0575a46 100755
--- a/Mac/Lib/bundlebuilder.py
+++ b/Mac/Lib/bundlebuilder.py
@@ -237,7 +237,6 @@ class AppBuilder(BundleBuilder):
self.name = os.path.splitext(os.path.basename(self.executable))[0]
if self.name[-4:] != ".app":
self.name += ".app"
- self.plist.CFBundleExecutable = self.name
if self.nibname:
self.plist.NSMainNibFile = self.nibname
@@ -247,6 +246,7 @@ class AppBuilder(BundleBuilder):
BundleBuilder.setup(self)
def preProcess(self):
+ self.plist.CFBundleExecutable = self.name
resdir = pathjoin("Contents", "Resources")
if self.executable is not None:
if self.mainprogram is None: