mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
fixed stupid bug
This commit is contained in:
parent
54405456e5
commit
7fd69ad2f1
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue