diff --git a/apm/package.json b/apm/package.json index a4085230a..4ba24d6a6 100644 --- a/apm/package.json +++ b/apm/package.json @@ -6,6 +6,6 @@ "url": "https://github.com/atom/atom.git" }, "dependencies": { - "atom-package-manager": "0.75.0" + "atom-package-manager": "0.76.0" } } diff --git a/script/bootstrap b/script/bootstrap index 28bccd663..f286096a6 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -57,6 +57,11 @@ function bootstrap() { apmInstallOptions.ignoreStdout = true; } + // apm ships with 32-bit node so make sure its native modules are compiled + // for a 32-bit target architecture + if (process.env.JANKY_SHA1 && process.platform === 'win32') + apmInstallCommand += ' --arch=ia32'; + var commands = [ { command: buildInstallCommand,