From fe81e5b32d4d837658b65edce91e477235e22574 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 23 Jan 2015 12:16:49 -0800 Subject: [PATCH] Use https://atom.io/download/atom-shell as headers download URL --- docs/tutorial/using-native-node-modules.md | 4 ++-- script/dump-version-info.js | 2 +- script/upload-checksums.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/tutorial/using-native-node-modules.md b/docs/tutorial/using-native-node-modules.md index 3a9708cfdec..8c72a7f4046 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 9158dc06e79..165c4a8cd0a 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 34a58fce5e9..b0378d834bc 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():