Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2f6a7e commit 77b5828Copy full SHA for 77b5828
1 file changed
Mac/mkapplet.py
@@ -99,12 +99,11 @@ def process(template, filename):
99
dest.close()
100
tmpl.close()
101
102
- # Copy the creator and type of the template to the destination
103
- # unless it already has one
104
-
+ # Copy the creator of the template to the destination
+ # unless it already has one. Set type to APPL
105
tctor, ttype = MacOS.GetCreatorAndType(template)
106
ctor, type = MacOS.GetCreatorAndType(destname)
107
- if type in undefs: type = ttype
+ if type in undefs: type = 'APPL'
108
if ctor in undefs: ctor = tctor
109
MacOS.SetCreatorAndType(destname, ctor, type)
110
0 commit comments