This project is an Electron-compatible app shell for creating desktop apps based on Gecko, the rendering engine used in Firefox.
This is a work in progress, and doesn't run Electron based apps yet. Part of this project is being worked on in the SpiderNode repository.
We're actively working on this, so if you're interested in the status of this project, please check here again soon.
Before building please make sure you have the prerequisites for building Firefox as documented here.
You need to add the following line to your mozconfig file:
ac_add_options --enable-application=positron
Build Command:
./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.