From f0731be20b72e48e8bc3be8d1b5f5887235f1b23 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 4 Nov 2016 14:13:15 -0700 Subject: [PATCH] Update dist url to be electron instead of atom-shell --- docs/tutorial/using-native-node-modules.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorial/using-native-node-modules.md b/docs/tutorial/using-native-node-modules.md index 0b8322d..8ac1dc7 100644 --- a/docs/tutorial/using-native-node-modules.md +++ b/docs/tutorial/using-native-node-modules.md @@ -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 -- 2.7.4