Enable argv emulation if required.
Fixed a bug for applets with their own plist files.
This commit is contained in:
parent
a03adde31b
commit
9f59d528c5
|
@ -303,10 +303,12 @@ def process_common_macho(template, progress, code, rsrcname, destname, is_update
|
||||||
for o in others:
|
for o in others:
|
||||||
builder.resources.append(o)
|
builder.resources.append(o)
|
||||||
if plistname:
|
if plistname:
|
||||||
import Plist
|
import plistlib
|
||||||
builder.plist = Plist.fromFile(plistname)
|
builder.plist = plistlib.Plist.fromFile(plistname)
|
||||||
if icnsname:
|
if icnsname:
|
||||||
builder.iconfile = icnsname
|
builder.iconfile = icnsname
|
||||||
|
if not raw:
|
||||||
|
builder.argv_emulation = 1
|
||||||
builder.setup()
|
builder.setup()
|
||||||
builder.build()
|
builder.build()
|
||||||
if progress:
|
if progress:
|
||||||
|
|
Loading…
Reference in New Issue