Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3853be8

Browse files
author
Just van Rossum
committed
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
1 parent 867dc25 commit 3853be8

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

Mac/Tools/IDE/BuildIDE.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
import buildtools
88
import Res
99
import py_resource
10-
import macfs
11-
import MACFS
1210

1311
buildtools.DEBUG=1
1412

@@ -21,17 +19,6 @@
2119

2220
buildtools.process(template, mainfilename, dstfilename, 1)
2321

24-
# Override the owner: IDE gets its bundle stuff from the applet
25-
# template and only needs to set the file creator.
26-
dest_fss = macfs.FSSpec(dstfilename)
27-
dest_finfo = dest_fss.GetFInfo()
28-
dest_finfo.Creator = ownertype
29-
dest_finfo.Type = 'APPL'
30-
dest_finfo.Flags = dest_finfo.Flags | MACFS.kHasBundle
31-
dest_finfo.Flags = dest_finfo.Flags & ~MACFS.kHasBeenInited
32-
dest_fss.SetFInfo(dest_finfo)
33-
34-
3522
targetref = Res.OpenResFile(dstfilename)
3623
Res.UseResFile(targetref)
3724

0 commit comments

Comments
 (0)