a experimental, Electron-compatible runtime on top of Gecko
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.
bash MOZCONFIG=positron/config/mozconfig ./mach build
To run an app on Positron, invoke
./mach runwith the path to the app's directory. For example, to run a sample app:
./mach run positron/test/hello-world
You can also
npm linkthe 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.