mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Enable argv emulation if required.
Fixed a bug for applets with their own plist files.
This commit is contained in:
parent
a03adde31b
commit
9f59d528c5
1 changed files with 4 additions and 2 deletions
|
@ -303,10 +303,12 @@ def process_common_macho(template, progress, code, rsrcname, destname, is_update
|
|||
for o in others:
|
||||
builder.resources.append(o)
|
||||
if plistname:
|
||||
import Plist
|
||||
builder.plist = Plist.fromFile(plistname)
|
||||
import plistlib
|
||||
builder.plist = plistlib.Plist.fromFile(plistname)
|
||||
if icnsname:
|
||||
builder.iconfile = icnsname
|
||||
if not raw:
|
||||
builder.argv_emulation = 1
|
||||
builder.setup()
|
||||
builder.build()
|
||||
if progress:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue