From: Cheng Zhao Date: Fri, 23 Jan 2015 20:16:49 +0000 (-0800) Subject: Use https://atom.io/download/atom-shell as headers download URL X-Git-Tag: v0.20.8~6 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=fe81e5b32d4d837658b65edce91e477235e22574;p=electron.git Use https://atom.io/download/atom-shell as headers download URL --- diff --git a/docs/tutorial/using-native-node-modules.md b/docs/tutorial/using-native-node-modules.md index 3a9708cf..8c72a7f4 100644 --- a/docs/tutorial/using-native-node-modules.md +++ b/docs/tutorial/using-native-node-modules.md @@ -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 diff --git a/script/dump-version-info.js b/script/dump-version-info.js index 9158dc06..165c4a8c 100644 --- a/script/dump-version-info.js +++ b/script/dump-version-info.js @@ -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(); diff --git a/script/upload-checksums.py b/script/upload-checksums.py index 34a58fce..b0378d83 100755 --- a/script/upload-checksums.py +++ b/script/upload-checksums.py @@ -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():