Re: Setting 'is package' bit when building a plug-in bundle?
Re: Setting 'is package' bit when building a plug-in bundle?
- Subject: Re: Setting 'is package' bit when building a plug-in bundle?
- From: Michael Vannorsdel <email@hidden>
- Date: Fri, 6 Mar 2009 21:02:05 -0700
Use FSSetCatalogInfo and set the finderInfo (interpreted as a
FolderInfo struct) and add the kHasBundle bit to the finderFlags of
the FolderInfo.
On Mar 6, 2009, at 8:31 PM, Graham Cox wrote:
'm implementing a plug-in scheme based on Rainer Brockerhoff's
design at http://cocoadevcentral.com/articles/000068.php
So far it's working fine, but I decided I wanted to use a particular
extension for my plug-in files. When I do that, the bundles revert
to looking like ordinary folders in the Finder, and can be simply
opened like any folder.
How can I set the 'package' setting when I build my bundle project
so that it's treated as a single package? I can't see a build
setting for doing this in the project, and simply adding
'LSTypeIsPackage' to my bundle's info.plist has no effect.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden