summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/IDE/BuildIDE.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Tools/IDE/BuildIDE.py')
-rw-r--r--Mac/Tools/IDE/BuildIDE.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Tools/IDE/BuildIDE.py b/Mac/Tools/IDE/BuildIDE.py
index 82a0636..942670a 100644
--- a/Mac/Tools/IDE/BuildIDE.py
+++ b/Mac/Tools/IDE/BuildIDE.py
@@ -19,7 +19,7 @@ dstfilename = os.path.join(sys.exec_prefix, "Python IDE")
buildtools.process(template, mainfilename, dstfilename, 1)
-targetref = Res.OpenResFile(dstfilename)
+targetref = Res.FSpOpenResFile(dstfilename, 3)
Res.UseResFile(targetref)
files = os.listdir(ide_home)
@@ -36,6 +36,6 @@ for name in files:
ispackage=0)
# add W resources
-wresref = Res.OpenResFile(os.path.join(ide_home, "Widgets.rsrc"))
+wresref = Res.FSpOpenResFile(os.path.join(ide_home, "Widgets.rsrc"), 1)
buildtools.copyres(wresref, targetref, [], 0)