Page 1 of 1

'Stacks' pane of the Standalone App Settings is dimmed

Posted: Sun Jan 28, 2024 12:29 pm
by Fjord
Hi,
I'm trying to build a standalone for a stack A. In development mode, stack A uses stack B, C, D. C and D are just faceless, scripts stacks (not script-only stacks). Works fine.
When I try to build a standalone for B, the 'Stacks' pane of the Standalone App Settings mentions B, C and D.
But when I try to build the standalone for stack A, the 'Stacks' pane of the Standalone App Settings of stack A has its panes dimmed, so I can't tell it to include B,C and D. None of these stacks are locked in the Finder.
What could be the matter? (MacOS Big Sur 11.7.10 - LC 9.6.10)

Re: 'Stacks' pane of the Standalone App Settings is dimmed

Posted: Sun Jan 28, 2024 12:41 pm
by Klaus
Bonjour François,

no idea what the matter is, but try to add you stacks via the "Add file..." tab in the STAB.
This way your runtime should find them with:

Code: Select all

...
start using script of stack (specialfolderpath("resources") & "/name_of_stackB.livecode")
## etc...
...
Best

Klaus

Re: 'Stacks' pane of the Standalone App Settings is dimmed

Posted: Sun Jan 28, 2024 1:30 pm
by Klaus
Is your standalone meant for iOS, Android or HTML5?
In that case this passage from the "User guide" will explain it:
Note: Adding additional stacks to the stacks tab is not supported for iOS, Android or HTML5 standalones.
Additional stacks may be included via the Copy Files tab.

Re: 'Stacks' pane of the Standalone App Settings is dimmed

Posted: Thu Feb 01, 2024 1:55 pm
by Fjord
@Klaus
via the "Add file..." tab in the STAB
I don't understand: I can't find an "Add file..." tab; in the what? (don't know who I should stab !)
And what's the code below going to do? I already have this kind of code in my scripts but I don't see how it's supposed to add stack B to a runtime…

Code: Select all

start using script of stack (specialfolderpath("resources") & "/name_of_stackB.livecode")
:?:

Re: 'Stacks' pane of the Standalone App Settings is dimmed

Posted: Thu Feb 01, 2024 2:28 pm
by Klaus
Bonjour François,

excuse-moi, I mean the "Copy files" tab in the "Standalone Application Settings..." in the "File" menu.
STAB stands for "Standalone Application Builder".


Best

Klaus

Re: 'Stacks' pane of the Standalone App Settings is dimmed

Posted: Fri Feb 02, 2024 9:05 pm
by Fjord
All right, Thanks… (still stuck with my problem but I made a fresh copy of both my stacks and started it all again, and it works…)