Update dist url to be electron instead of atom-shell
This commit is contained in:
parent
58278ee095
commit
f0731be20b
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ export npm_config_target=1.2.3
|
|||
export npm_config_arch=x64
|
||||
export npm_config_target_arch=x64
|
||||
# Download headers for Electron.
|
||||
export npm_config_disturl=https://atom.io/download/atom-shell
|
||||
export npm_config_disturl=https://atom.io/download/electron
|
||||
# Tell node-pre-gyp that we are building for Electron.
|
||||
export npm_config_runtime=electron
|
||||
# Tell node-pre-gyp to build module from source code.
|
||||
|
@ -59,7 +59,7 @@ use `node-gyp` directly to build for Electron:
|
|||
|
||||
```bash
|
||||
cd /path-to-module/
|
||||
HOME=~/.electron-gyp node-gyp rebuild --target=1.2.3 --arch=x64 --dist-url=https://atom.io/download/atom-shell
|
||||
HOME=~/.electron-gyp node-gyp rebuild --target=1.2.3 --arch=x64 --dist-url=https://atom.io/download/electron
|
||||
```
|
||||
|
||||
The `HOME=~/.electron-gyp` changes where to find development headers. The
|
||||
|
|
Loading…
Reference in a new issue