Skip to content

standalone.livecode

Brian Spencer edited this page Mar 14, 2017 · 20 revisions

The standalone.livecode stack file is in your app 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
      • 📂 app
        • standalone.livecode
      • 📁 builds
      • 📂 levure
        • 📂 framework
          • levure.livecodescript

Clone this wiki locally