scriptOnly Stacks in closed source
Posted: Wed Sep 28, 2016 2:48 pm
I'm in need of guidance regarding the use of script only stacks in closed source applications (I have an Indy license). How do I include a closed source version of a script only stack in an standalone?
Do I need to create a standalone builder pre-processor where I loop through each of the script only stacks in the project setting the scriptOnly property to false and password protect the stack, create the standalone and package everything up? After building/packaging the stand alone, do I then need to post-process the script only stacks removing the password and setting the scriptOnly property to true so that they become script only stacks again?
Application structure (general high level), launcher.livecode is the stack that becomes the standalone for the application. My intention is to have the standalone in the same directory as launcher stack but reference the stacks of the "application" in the components and library directories.
Hope that makes sense and thanks in advance for any assistance,
Bob
Do I need to create a standalone builder pre-processor where I loop through each of the script only stacks in the project setting the scriptOnly property to false and password protect the stack, create the standalone and package everything up? After building/packaging the stand alone, do I then need to post-process the script only stacks removing the password and setting the scriptOnly property to true so that they become script only stacks again?
Application structure (general high level), launcher.livecode is the stack that becomes the standalone for the application. My intention is to have the standalone in the same directory as launcher stack but reference the stacks of the "application" in the components and library directories.
Code: Select all
launcher.livecode
components/
application.livecode
about.livecode
libraries/
mylib.livecodescript
someOtherLib.livecodescript
backscripts/
applicationBackscript1.livecodescript
applicationBackscript2.livecodescript
frontscripts/
applicationFrontscript1.livecodescript
applicationFrontscript2.livecodescript
behaviors/
object1Behavior.livecodescript
object2Behavior.livecodescript
object3Behavior.livecodescript
Bob