revert changes of dist url
This commit is contained in:
parent
d2ab8322b7
commit
6842ac98c3
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ where to download headers and which version to use:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cd /path-to-module/
|
$ 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
|
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:
|
Node modules, except that you need to setup some environment variables:
|
||||||
|
|
||||||
```bash
|
```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_target=0.25.0
|
||||||
export npm_config_arch=x64
|
export npm_config_arch=x64
|
||||||
HOME=~/.electron-gyp npm install module-name
|
HOME=~/.electron-gyp npm install module-name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue