Application path problem in OS X standalone
Howard Bornstein
bornstein at designeq.com
Wed May 14 22:01:01 EDT 2003
I've built standalones in Mac OS PPC, Windows, and Mac OS X. I set the
defaultfolder in the application to be able to reference a Resources
folder that goes with the App.
To set the defaultFolder, I first determine where the App lives. No
problem in OS 9 and Windows. However, in OS X, when I determine where the
App resides, I get some extra stuff appended to the path.
OS 9: harddrive/path-info/app-directory
OS X: harddrive/path-info/app-directory.app/Contents/MacOS
What are these last two "directories" appended to my path? The
application is a "bundle" but doesn't contain anything other than the app
itself.
I can probably code (yet again) around this, but I'd like to avoid as
much platform-specific special coding as possible. It'd help to
understand what is going on here.
Any observations appreciated.
Running Rev 2.0 RC1 under OS 10.2
Regards,
Howard Bornstein
____________________
D E S I G N E Q
www.designeq.com
More information about the use-livecode
mailing list