mirror of
https://github.com/S2-/gitlit
synced 2025-08-04 05:10:05 +02:00
update dependencies
This commit is contained in:
9
app/node_modules/electron/install.js
generated
vendored
9
app/node_modules/electron/install.js
generated
vendored
@@ -21,6 +21,12 @@ if (installedVersion === version && fs.existsSync(path.join(__dirname, platformP
|
||||
process.exit(0)
|
||||
}
|
||||
|
||||
var mirror
|
||||
|
||||
if (version.indexOf('nightly') !== -1) {
|
||||
mirror = 'https://github.com/electron/nightlies/releases/download/v'
|
||||
}
|
||||
|
||||
// downloads if not cached
|
||||
download({
|
||||
cache: process.env.electron_config_cache,
|
||||
@@ -29,7 +35,8 @@ download({
|
||||
arch: process.env.npm_config_arch,
|
||||
strictSSL: process.env.npm_config_strict_ssl === 'true',
|
||||
force: process.env.force_no_cache === 'true',
|
||||
quiet: process.env.npm_config_loglevel === 'silent' || process.env.CI
|
||||
quiet: process.env.npm_config_loglevel === 'silent' || process.env.CI,
|
||||
mirror
|
||||
}, extractFile)
|
||||
|
||||
// unzips and makes path.txt point at the correct executable
|
||||
|
Reference in New Issue
Block a user