Supress Standalone Builder Warnings

Marty Knapp martyknappster at gmail.com
Thu May 2 21:20:04 EDT 2024


I build my complex apps using Trevor’s Levure Framework and never have an issue. If you don’t want to go that route, maybe there’s something in the framework you could borrow?
---
Marty Knapp

> On May 2, 2024, at 5:40 PM, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> It's this:
> <https://forums.livecode.com/viewtopic.php?f=8&t=34933&sid=3c32a0e28cf01b21391bbfae080efcd8&start=15#p198477>
> 
> The engine used to lock messages when building a standalone but that was changed 4 years ago. Personally I think it causes more problems than it solves, but the solution is to add (multiple) handlers to your stack to avoid the dialog. Most of my stacks work okay without the additions, but if you have certain handlers in the message hierarchy you get the dialog. The code you need to add is in the link above.
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
>> Hi all.
>> 
>> I have about had it with the Standalone asking me if I want to save, purge or cancel for stacks that are already open. I ONLY ever have one version of any stack that is open, unless the Standalone Builder is leaving stack IN the Standalone in memory, which would be breathtakingly bad programming, and I do not think they are doing that.
>> 
>> What I would like to do is edit the library that is popping up that dialog, and setting it to where it always cancels (doesn’t change anything). I know I will have to update the library each time a new release came out but it’s worth it just to avoid the hassle of quitting and relaunching every time a different standalone need to be built.
>> 
>> I tried editing the script of revSaveAsStandalone.livecode in the MacOS bundle, but the word “purge” does not occur in the library. Any idea what library is actually popping up that dialog?
>> 
>> BTW the standalone building IS much faster with 9.6.12 (rc1)
>> 
>> Bob S



More information about the use-livecode mailing list