From fc78d2d8f52e1e1f42316c41504e9764b313588f Mon Sep 17 00:00:00 2001 From: Rodrigo Nascimento Date: Mon, 22 Feb 2016 23:56:27 -0300 Subject: [PATCH] Allow download builds for MAS --- npm/install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm/install.js b/npm/install.js index 0e5b29614d62..d0a590727dad 100755 --- a/npm/install.js +++ b/npm/install.js @@ -36,7 +36,7 @@ if (installedVersion === version && fs.existsSync(path.join(__dirname, paths[pla } // downloads if not cached -download({version: version, arch: process.env.npm_config_arch, strictSSL: process.env.npm_config_strict_ssl}, extractFile) +download({version: version, platform: process.env.npm_config_platform, arch: process.env.npm_config_arch, strictSSL: process.env.npm_config_strict_ssl}, extractFile) // unzips and makes path.txt point at the correct executable function extractFile (err, zipPath) {