On Apr 26, 2004, at 1:38 PM, Roger Binns wrote:
> Steven Palm wrote:
>> two in relation to each other, I can't think of a way to have a
>> "bitfling" application bundle call items from the "bitpim" bundle.
>> I'll
>> give this some more thought.
>
> Can't you add a shell script that looks like this and put it in the
> same directory of the bundle as the BitPim app object.
The user has no way to call this. A "bundle" is a self-contained
object to the MacOS Finder (although it's just a directory). In the
bundle is a file "Info.plist" that tells the Finder what to launch when
the bundle is "launched". There is no way to have two items in the
bundle that would get launched.
> For the moment it doesn't have to have an icon etc. It just needs to
> be possible to start it in some way, even if that means using a
> console.
If we are foregoing the need for a "clickable" launcher, then I can
come up with some instructions on how to do it for the end-user through
the command line. Another alternative (ugly) is to require the user to
put a clickable "bitfling" application bundle in the same directory as
the "BitPim" bundle, and require that BitPim be named BitPim... Then
the exec call in the shell script in the BitFling bundle could use
relative directory paths to get into the resources of the BitPim
bundle, possibly even using symlinks if needed to make it's bundle look
"populated" with the right items.
Getting a "clickable" bundle in the MacOS X Finder is a real PITA. :-)
|