Merge pull request #231 from vbez/electron_config_cache

Use process.env.electron_config_cache to get the released zip file from the local directory during installation of Electron.
This commit is contained in:
Kevin Sawicki 2017-03-16 10:10:13 -07:00 committed by GitHub
commit 40bb9e71c5

View file

@ -24,6 +24,7 @@ if (installedVersion === version && fs.existsSync(path.join(__dirname, platformP
// downloads if not cached
download({
cache: process.env.electron_config_cache,
version: version,
platform: process.env.npm_config_platform,
arch: process.env.npm_config_arch,