Kaydet (Commit) 9f59d528 authored tarafından Jack Jansen's avatar Jack Jansen

Enable argv emulation if required.

Fixed a bug for applets with their own plist files.
üst a03adde3
...@@ -303,10 +303,12 @@ def process_common_macho(template, progress, code, rsrcname, destname, is_update ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment