Local Path for Mobile
Brahmanathaswami
brahma at hindu.org
Sun Aug 9 20:51:26 EDT 2015
Thanks Ralph
So you mean like this... I think it is obvious but just to be sure
on my HD
~/livecode/BigMobileProject/
big-project.livecode/
/images
/fonts
/data
the three folders here are "relative" to the stack path..
I will test this.. thanks!
Swasti Astu, Be Well!
Brahmanathaswami
Kauai's Hindu Monastery
www.HimalayanAcademy.com
Ralph DiMola wrote:
> This assumes that all the assets to be included in the copy files pane in
> the standalone setting are relative to the stack path.
>
> function TheEngine
> local tStackPath
> switch
> case the environment = "Mobile"
> return the engine folder
> break
> default
> put the long name of this stack into tStackPath
> delete char 1 to 7 in tStackPath
> set the itemdelimiter to slash
> return item 1 to-2 of tStackPath
> end switch
>
> end TheEngine
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net
More information about the use-livecode
mailing list