Skip to content

Commit

Permalink
Update dist url to be electron instead of atom-shell
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsawicki committed Nov 4, 2016
1 parent 58278ee commit f0731be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorial/using-native-node-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f0731be

Please sign in to comment.