Supress Standalone Builder Warnings

Bob Sneidar bobsneidar at iotecdigital.com
Fri May 3 14:33:03 EDT 2024


Okay, well this is better. When building for MacOS and Windows simultaneously, I only get the dialog twice, whether or not I delete the main stack or no. 

But if I leave Livecode running and then try to open the main stack, I get all the dialogs. 

I think the problem is that the Livecode Standalone builder is leaving files open from the standalone that ought not be left open. The Standalone Builder should build a list of all the file paths of all open stacks (that are not native to Livecode itself) prior to the build, then close them all, then build the standalone, then close. any stacks opened in that process, then restore the old environment by re-opening the stacks that were open prior to the build. 

That is the only way I can see to make the process as clean as possible. The end goal here has to be to leave the environment in the exact state that it was prior to building. I doubt that will ever get implemented, but that has to be how it works. 

I think I can develop a workaround myself, and will probably do that and share it with everyone. 

Bob S


> On May 3, 2024, at 11:10 AM, Curry Kenworthy via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Bob:
> 
> > put this in the closeStack of the splash stack or the main stack?
> 
> As it says - the 'stack to build' - saving standalone from.
> 
> > Also, isn’t the problem that when opening a stack Livecode detects
> > the stack being opened has the same name as one already in memory?
> 
> 
As Jacqueline said:
> 
> > The engine used to lock messages when building a standalone
> > but that was changed 4 years ago.
> 
> Bob:
> 
> > make backups of all your stacks first
> 
> Of course, and don't mix/match methods, or ignore your project setup -
> 
> Code in use 4 years, no issues; restores LC's own original SB technique!
> 
> Best wishes,
> 
> Curry Kenworthy
> 
> Radically Innovative Christian LiveCode Development
> "PASSION for Elegant, Efficient Code!"
> http://livecodeconsulting.com/
> 
> _______________________________________________
> 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