Skip to content

standalone.livecode

Brian Spencer edited this page Jun 4, 2017 · 20 revisions

The standalone.livecode file is in your app folder. This is is the binary "stub" stack you will build as an executable standalone using LiveCode. This is also the stack that will load all of your application files into the LiveCode IDE during an editing session.

You configure the standalone settings of this stack and build the executable using the LiveCode development environment, as described here.

To open your application for an editing session do the following:

  1. Open the standalone.livecode stack in the IDE.
  2. With the Browse tool active, click on the Open Application button. The Levure framework will initialize and run the application in the IDE and you can begin editing your stacks.

The standalone.livecode stack 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