Qustion abut "the stackfiles"

William Prothero waprothero at gmail.com
Wed Mar 28 01:47:04 EDT 2018


Do you mean you store the stackfiles in a database, then load the locations with the splash screen?
Bill

> On Mar 27, 2018, at 2:52 PM, Sannyasin Brahmanathaswami via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> You the splash get "messed-up" from occasional resave. 
> 
> Don't tell me how, but occasionally the path (which should be relative) becomes absolute
> 
> lib_calendar   libraries/lib_calendar.livecodescript  #which it should be
> 
> becomes 
> 
> lib_calendary   /users/brahma/documents/myapp/libraries/lib_calendar.livecodescript  
> 
> plus you are changing files from time to time, so the stackfiles is obsolete.
> 
> We fixed this by starting with json files, which then sets the splash stackFiles on stack start up 
> 
> On 3/27/18, 11:13 AM, "use-livecode on behalf of William Prothero via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:
> 
>    Folks:
>    I’m setting up an application with a splash stack and lots of other stacks and libraries that are loaded by the splash stack. I am using “the stackfiles” of the splash stack to get the relative paths of the various stacks in the resources folder. I’m on LC 9.0.0(rc2), on Mac OS 10.12.3
> 
>    What I’m wondering is if there are any “gotchas” with using this method to get the relative paths to the various resource stacks. It seems like this may be the easiest way to adjust paths for the various deployment targets.
> 
>    Best,
>    Bill
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list