mirror of https://github.com/python/cpython.git
fixed stupid bug
This commit is contained in:
parent
54405456e5
commit
7fd69ad2f1
|
@ -237,7 +237,6 @@ def setup(self):
|
|||
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 @@ def setup(self):
|
|||
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…
Reference in New Issue