mirror of https://github.com/python/cpython.git
reverted Jack's mod: no longer neccesary since all BNDL & icon info is in the IDE's resource file, just like the other applets -- jvr
This commit is contained in:
parent
867dc25445
commit
3853be8b14
|
@ -7,8 +7,6 @@
|
|||
import buildtools
|
||||
import Res
|
||||
import py_resource
|
||||
import macfs
|
||||
import MACFS
|
||||
|
||||
buildtools.DEBUG=1
|
||||
|
||||
|
@ -21,17 +19,6 @@
|
|||
|
||||
buildtools.process(template, mainfilename, dstfilename, 1)
|
||||
|
||||
# Override the owner: IDE gets its bundle stuff from the applet
|
||||
# template and only needs to set the file creator.
|
||||
dest_fss = macfs.FSSpec(dstfilename)
|
||||
dest_finfo = dest_fss.GetFInfo()
|
||||
dest_finfo.Creator = ownertype
|
||||
dest_finfo.Type = 'APPL'
|
||||
dest_finfo.Flags = dest_finfo.Flags | MACFS.kHasBundle
|
||||
dest_finfo.Flags = dest_finfo.Flags & ~MACFS.kHasBeenInited
|
||||
dest_fss.SetFInfo(dest_finfo)
|
||||
|
||||
|
||||
targetref = Res.OpenResFile(dstfilename)
|
||||
Res.UseResFile(targetref)
|
||||
|
||||
|
|
Loading…
Reference in New Issue