Laptop and Desktop browser for OS X and Windows built on top of the Electron framework (Node + Chromium content module).
-
Clone the git repository from GitHub:
git clone git@github.com:brave/browser-electron.git
-
Open the working directory:
cd browser-electron
-
Install the Node dependencies:
npm install
To start the server and file watchers run the following on the command line:
npm run watch
TO run the browser:
num start
We are currently using a fork of Electron with some minor modifications here: https://github.com/brave/electron
Build instructions:
From within brave-browser you can create a .app file for distribution:
npm run build-darwin
After the .app file is built you can create a dmg with:
npm run installer-dwarwin
To create a folder with the app .exe and all dependencies:
npm run build-win64
After the above folder is created, you can create an NSIS based installer with:
npm run installer-win64
Packaging is not implemented yet for other platforms, but it would be simple for linux.
Development builds will automatically open developer tools within the browser.