mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Set ATOM_RESOURCE_PATH in install-atom-dependencies.js
This commit is contained in:
@@ -7,6 +7,8 @@ const CONFIG = require('../config')
|
||||
|
||||
module.exports = function () {
|
||||
const installEnv = Object.assign({}, process.env)
|
||||
// Set resource path so that apm can load metadata related to Atom.
|
||||
installEnv.ATOM_RESOURCE_PATH = CONFIG.repositoryRootPath
|
||||
// Set our target (Electron) version so that node-pre-gyp can download the
|
||||
// proper binaries.
|
||||
installEnv.npm_config_target = CONFIG.appMetadata.electronVersion;
|
||||
|
||||
Reference in New Issue
Block a user