You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For an application that is built using [Electron](https://github.com/atom/Electron) you'll need to have the `engines.electron` set to the version of Electron that you are targeting in your root `package.json` file.
16
+
17
+
For example if you have an Electron app that's targeting version 0.20.7 your package.json file would look something like:
18
+
19
+
```json
20
+
{
21
+
"name": "elec-app",
22
+
"displayName": "My Electron app",
23
+
"version": "0.0.1",
24
+
"description": "",
25
+
"main": "main.js",
26
+
"author": "",
27
+
"engines": {
28
+
"electron": "0.20.7"
29
+
}
30
+
}
31
+
```
32
+
33
+
And when doing an `npm install` or `apm install` inside of your Electron's root folder it will compile NodeGit targeting that version of Electron during the install.
34
+
35
+
*NOTE: there are no pre-built binaries for Electron, you must rebuild NodeGit. Visit our [building guides](../from-source) for help*
0 commit comments