[platypus-dev] Re: Newby needs hand-holding

On 27.11.2008, at 00:27, Bill Holt wrote:

On a few other lists, I'm one of the question answerers, but this is an area where I'm a true babe in the woods.

Which is why you wrote much useless prose but didn't give us any facts ;-)

Is the FileMaker runtime an .app bundle or a single Carbon file?

Here's my goal:  With all of the files contained within the wrapper,

I suppose the runtime needs all the other files to be next to it in one folder. Did you have Platypus copy the runtime itself into / Resources as well?

I'd like for the script to issue an "open" command to the application file.

There is /usr/bin/open which can start 'GUI executables'. It' probably not necessary to use "open -a runtime datafile".

Also, I have a vague notion about what the "$1" is supposed to do, but don't seem to have found the right way to structure and implement it.

The included documentation says: Your bundled files will then be accessible via the following path "$1/Contents/Resources/[filename]".

So have Platypus use a new shell script, enable the $1 thing, and type:

/usr/bin/open "$1/Contents/Resources/Runtime.app"

Or whatever it's called.

Other related posts: