Skip to content

standalone.livecode

Trevor DeVore edited this page Mar 12, 2017 · 20 revisions

The standalone.livecode stack file is in your application folder. This is the binary "stub" stack you will attach the LiveCode engine to, or in other words, build as an executable standalone. You configure the standalone settings of this stack and build the executable using the LiveCode development environment, as described here.

The standalone.livecode does not have any scripts or user interface objects. It is a bare launcher stack whose purpose is to provide an executable that loads levure/framework/levure.livecodescript as its behavior. Once the framework is loaded it handles everything from there.

To properly load levure/framework/levure.livecodescript as a behavior, two properties must be set on the standalone.livecode stack:

  1. The behavior property must be set to stack "levureFramework"

  2. The stackFiles property must be set to levureFramework,../levure/framework/levure.livecodescript

    The above stackfiles setting assumes this folder structure:

    • 📂 your_project_folder
      • 📂 levure
        • 📂 framework
          • levure.livecodescript
      • 📂 your_application_folder
        • standalone.livecode

Clone this wiki locally