May 25, 2021 Electron
Follow the instructions below to build Electron on OS X .
If you download with Python via Homebrew, you will need to install the following Python module:
$ git clone https://github.com/electron/electron.git
Bootstrap scripts are also necessary to download build dependencies to create project files. Note that we are using ninja to build Electron, so no Xcode project was generated.
$ cd electron
$ ./script/bootstrap.py -v
Create
Release
Debug
Target:
$ ./script/build.py
You can
create
Debug
target:
$ ./script/build.py -c D
Once created,
out/D
Electron.app
.
On OS X, building Electron supports only 64-bit, not 32-bit .
Test your modifications to match the project code style, using:
$ ./script/cpplint.py
Test effectiveness use:
$ ./script/test.py