This project is an Electron-compatible app shell for creating desktop apps based on Gecko, the rendering engine used in Firefox.
As noted in the blog post Positron Discontinued, this project has been discontinued. The source remains available, and you're welcome to reuse it.
To clone Positron and its submodules:
git clone --recursive https://github.com/mozilla/positron.git
Before building please make sure you have the prerequisites for building Firefox as documented here.
Build Command:
MOZCONFIG=positron/config/mozconfig ./mach build
To run an app on Positron, invoke ./mach run
with the path to the app's directory. For example, to run a sample app:
./mach run positron/test/hello-world
You can also npm link
the build directory and then run the app via the positron command:
(cd obj-x86_64-apple-darwin14.5.0/dist/; npm link) # Build dir name will vary.
positron positron/test/hello-world
To start an Electron test run:
(cd positron/electron/spec; npm install) # You only have to do this the first time.
./mach run positron/electron/spec
Note: these tests don't yet run.