Stacks inside OSX Package
Tereza Snyder
tereza at califex.com
Sun Jul 13 18:25:58 EDT 2008
On Jul 13, 2008, at 2:29 PM, Sivakatirswami wrote:
> Tereza: Marvelous! but, one doubt:
>
> You wrote; - "Lets you standardize your paths relative to
> MyDataStack. Set the default directory to 'Resources' and you're
> done. Never worry about whether you have to dodge around 'Contents'
> again on one platform and not on the other(s)."
>
> But, if the Win32.exe is inside a folder but the Mac.exe standalone
> is not, won't the path reference to Resources differ?
>
> You would have to do:
>
> Mac standalone invokes:
>
> set the defaultfolder to "Resources"
> topLevel "MyDataStack.rev"
>
> Win32 would need to do:
>
> set the defaultfolder to "../Resources"
> topLevel "MyDataStack.rev"
>
> N'est ce pas?
>>> \
The mac standalone executable is in MyApp.app/Contents/MacOS
The win standalone executable is in MyApp.app/Contents/Win32
The resources (and other stacks) are in MyApp.app/Contents/Resources...
...so the resources are in the same relation to Win as to Mac.
t
--
Tereza Snyder
Califex Software, Inc.
More information about the use-livecode
mailing list