]> khamidou — GitHub mirrors - electron.git/commitdiff
Update using-native-node-modules.md
authorFlorian Brinker <fbrinker@users.noreply.github.com>
Mon, 6 Jul 2015 12:05:15 +0000 (14:05 +0200)
committerFlorian Brinker <fbrinker@users.noreply.github.com>
Mon, 6 Jul 2015 12:05:15 +0000 (14:05 +0200)
update to newest version and x64 fix for popular systems

docs/tutorial/using-native-node-modules.md

index 643b4915b7ed2fd1f47269dba3e099c44a873764..6b9631296f4c34df7f8ce677d16ff4ac724bf22c 100644 (file)
@@ -38,12 +38,12 @@ 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/atom-shell
+$ HOME=~/.electron-gyp node-gyp rebuild --target=0.29.1 --arch=x64 --dist-url=https://atom.io/download/atom-shell
 ```
 
 The `HOME=~/.electron-gyp` changes where to find development headers. The
-`--target=0.25.0` is version of Electron. The `--dist-url=...` specifies
-where to download the headers. The `--arch=ia64` says the module is built for
+`--target=0.29.1` is version of Electron. The `--dist-url=...` specifies
+where to download the headers. The `--arch=x64` says the module is built for
 64bit system.
 
 ### The npm way
@@ -53,7 +53,7 @@ Node modules, except that you need to setup some environment variables:
 
 ```bash
 export npm_config_disturl=https://atom.io/download/atom-shell
-export npm_config_target=0.25.0
+export npm_config_target=0.29.1
 export npm_config_arch=x64
 HOME=~/.electron-gyp npm install module-name
 ```