diff --git a/Mac/Lib/buildtools.py b/Mac/Lib/buildtools.py index d2ae0fada4a..3dcb6ae8d41 100644 --- a/Mac/Lib/buildtools.py +++ b/Mac/Lib/buildtools.py @@ -204,6 +204,9 @@ def process_common(template, progress, code, rsrcname, destname, is_update, copy id = Res.Unique1ID(RESTYPE) res = Res.Resource(data) res.AddResource(RESTYPE, id, RESNAME) + attrs = res.GetResAttrs() + attrs = attrs | 0x04 # set preload + res.SetResAttrs(attrs) res.WriteResource() res.ReleaseResource()