Do the needful to get Electron binaries.

This commit is contained in:
joshaber 2015-12-07 11:10:28 -05:00
parent 09bd603c4b
commit 8514cb18cd

View File

@ -45,6 +45,13 @@ function setEnvironmentVariables() {
process.env.BUILD_ATOM_RELEASES_S3_SECRET = process.env.BUILD_ATOM_WIN_RELEASES_S3_SECRET
process.env.BUILD_ATOM_RELEASES_S3_BUCKET = process.env.BUILD_ATOM_WIN_RELEASES_S3_BUCKET
}
// `node-pre-gyp` will look for these when determining which binary to
// download or how to rebuild.
process.env.npm_config_runtime = 'electron';
// TODO: get this from package.json
process.env.npm_config_target = '0.34.5';
process.env.npm_config_disturl = 'https://atom.io/download/atom-shell';
}
function removeNodeModules() {