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:
commit
40bb9e71c5
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue