From a5b457ed13d649be41255310f08f59ac3464769b Mon Sep 17 00:00:00 2001 From: Dylan Frankland Date: Sat, 19 Nov 2016 08:38:27 -0800 Subject: [PATCH] Update old electron target engine for dependencies (#970) This fixes dependencies of Hyper that build based on the engine being used (`nodegit` for example). --- app/plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/plugins.js b/app/plugins.js index a2d83f82..b74d3cde 100644 --- a/app/plugins.js +++ b/app/plugins.js @@ -233,7 +233,7 @@ function install(fn) { } /* eslint-disable camelcase */ env.npm_config_runtime = 'electron'; - env.npm_config_target = '1.3.0'; + env.npm_config_target = process.versions.electron; env.npm_config_disturl = 'https://atom.io/download/atom-shell'; /* eslint-enable camelcase */ exec('npm prune && npm install --production', {