Skip to content
This repository has been archived by the owner on Jul 3, 2018. It is now read-only.

Latest commit

 

History

History
46 lines (34 loc) · 1.57 KB

README.md

File metadata and controls

46 lines (34 loc) · 1.57 KB

Development Status

Positron: 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.

Current status

As noted in the blog post Positron Discontinued, this project has been discontinued. The source remains available, and you're welcome to reuse it.

How to download the source

To clone Positron and its submodules:

git clone --recursive https://github.com/mozilla/positron.git

How to build

Before building please make sure you have the prerequisites for building Firefox as documented here.

Build Command:

MOZCONFIG=positron/config/mozconfig ./mach build

How to run

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

How to test

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.