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: "Sean McBride" <email@hidden>
- Date: Fri, 25 Sep 2009 15:57:25 -0400
- Organization: Rogue Research Inc.
On 9/25/09 12:24 PM, Jens Alfke said:
>> 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.
>
>Sounds like good advice, but SetFile is a command-line tool, not an
>API. The actual API to set HFS flags is, I think, somewhere in
><CarbonCore/Files.h>.
Yes. You can use the MoreFilesX sample code and do this:
FSChangeFinderFlags (&theFsRef, true, kHasBundle);
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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