Enable argv emulation if required.

Fixed a bug for applets with their own plist files.
This commit is contained in:
Jack Jansen 2003-02-18 23:30:27 +00:00
parent a03adde31b
commit 9f59d528c5
1 changed files with 4 additions and 2 deletions

View File

@ -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: