Re: How to make a plugin?
Re: How to make a plugin?
- Subject: Re: How to make a plugin?
- From: Rainer Brockerhoff <email@hidden>
- Date: Mon, 9 Jul 2001 11:15:17 -0300
At 21:27 -0500 on 08/07/2001, Eric Peyton wrote:
>
On Sunday, July 8, 2001, at 05:25 PM, Rainer Brockerhoff wrote:
>
>1) ProjectBuilder has no plugin-specific target. I managed to create a "bundle" target but this locks me into using the ".bundle" extension, which can't be altered from inside PB... however I've seen shipping plugins which do use the ".plugin" extension. How did they do it?
>
>
Sure it can - open the target inspector for the bundle, go to the bundle settings tab, scroll to the bottom, change the line that reads WRAPPER_EXTENSION = "bundle" to WRAPPER_EXTENSION = "whatever_the_heck_you_want".
You're right, of course. I shied away from even _reading_ that part, since it messes with those scary command-line options ;-).
>
Custom bundle types do not use custom .icns, unfortunately. It's a limitation in Launch Services. I suspect it will be eventually fixed. For now you need to kludge (i.e. paste the icon you want on to the ready to ship bundle, etc.)
Hopefully it'll be fixed soon... I suppose the smart thing to do will be to keep the icns files and so forth setup expecting the fix.
I suppose pasted-in icons still use the old invisible "Icon\r" file thingy? If so, perhaps this could be copied by PB's build phase...
Thanks, Eric, for your help.
--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"In the affairs of others even fools are wise
In their own business even sages err."
http://www.brockerhoff.net/ (updated July 2000)