Use https://atom.io/download/atom-shell as headers download URL
This commit is contained in:
parent
854c59df5c
commit
fe81e5b32d
3 changed files with 4 additions and 4 deletions
|
@ -53,7 +53,7 @@ where to download headers and which version to use:
|
|||
|
||||
```bash
|
||||
$ cd /path-to-module/
|
||||
$ HOME=~/.atom-shell-gyp node-gyp rebuild --target=0.16.0 --arch=ia32 --dist-url=https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist
|
||||
$ HOME=~/.atom-shell-gyp node-gyp rebuild --target=0.16.0 --arch=ia32 --dist-url=https://atom.io/download/atom-shell
|
||||
```
|
||||
|
||||
The `HOME=~/.atom-shell-gyp` changes where to find development headers. The
|
||||
|
@ -64,7 +64,7 @@ where to download the headers. The `--arch=ia32` says the module is built for
|
|||
### The npm way
|
||||
|
||||
```bash
|
||||
export npm_config_disturl=https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist
|
||||
export npm_config_disturl=https://atom.io/download/atom-shell
|
||||
export npm_config_target=0.6.0
|
||||
export npm_config_arch=ia32
|
||||
HOME=~/.atom-shell-gyp npm install module-name
|
||||
|
|
|
@ -3,7 +3,7 @@ var fs = require('fs');
|
|||
var path = require('path');
|
||||
var request = require('request');
|
||||
|
||||
var TARGET_URL = 'http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/index.json';
|
||||
var TARGET_URL = 'https://atom.io/download/atom-shell/index.json';
|
||||
|
||||
function getDate() {
|
||||
var today = new Date();
|
||||
|
|
|
@ -8,7 +8,7 @@ import tempfile
|
|||
from lib.util import download, rm_rf, s3_config, s3put
|
||||
|
||||
|
||||
DIST_URL = 'https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/'
|
||||
DIST_URL = 'https://atom.io/download/atom-shell/'
|
||||
|
||||
|
||||
def main():
|
||||
|
|
Loading…
Reference in a new issue