Re: Correct way to tell if a path is to a .bundle?
Re: Correct way to tell if a path is to a .bundle?
- Subject: Re: Correct way to tell if a path is to a .bundle?
- From: Rick Mann <email@hidden>
- Date: Fri, 25 Sep 2009 09:53:39 -0700
On Sep 25, 2009, at 08:52:40, Sean McBride wrote:
On 9/25/09 8:12 AM, Jens Alfke said:
Thanks Jens. If I create a custom extension for my plugins (not even
sure I can do that), will this still work?
Yup, as long as you declare the extension properly in your Info.plist
and indicate that it's a bundle.
Of course that requires that your Info.plist be present for Launch
Services to consult. So while you should absolutely do as Jens says,
you should additionally set the bundle bit for packages you create.
See
'man SetFile'. SetFile -a B /path/to/package. Many apps fail to do
this. Ever noticed that after a fresh OS install the Finder
shows .xcodeproj packages as folders? That's why.
Thanks to you both for the details!
--
Rick
_______________________________________________
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