From 6842ac98c3ed010cf2547ae080bb38cae958fad9 Mon Sep 17 00:00:00 2001 From: Max Graey Date: Mon, 4 May 2015 10:13:43 +0700 Subject: [PATCH] revert changes of dist url --- 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 6289338..95192ae 100644 --- a/docs/tutorial/using-native-node-modules.md +++ b/docs/tutorial/using-native-node-modules.md @@ -25,7 +25,7 @@ where to download headers and which version to use: ```bash $ cd /path-to-module/ -$ HOME=~/.electron-gyp node-gyp rebuild --target=0.25.0 --arch=ia64 --dist-url=https://atom.io/download/electron +$ HOME=~/.electron-gyp node-gyp rebuild --target=0.25.0 --arch=ia64 --dist-url=https://atom.io/download/atom-shell ``` The `HOME=~/.electron-gyp` changes where to find development headers. The @@ -39,7 +39,7 @@ You can also use `npm` to install modules, the steps are exactly the same with Node modules, except that you need to setup some environment variables: ```bash -export npm_config_disturl=https://atom.io/download/electron +export npm_config_disturl=https://atom.io/download/atom-shell export npm_config_target=0.25.0 export npm_config_arch=x64 HOME=~/.electron-gyp npm install module-name -- 2.7.4