From 1331354349f2bb2557e206dbe1b254210922d745 Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Tue, 12 Jan 2016 17:26:37 +0100 Subject: [PATCH] use VSCODE_ELECTRON_PLATFORM --- build/gulpfile.vscode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js index 816112723c4..50aebf012aa 100644 --- a/build/gulpfile.vscode.js +++ b/build/gulpfile.vscode.js @@ -114,7 +114,7 @@ var config = { gulp.task('electron', function () { // Force windows to use ia32 - var arch = (process.platform === 'win32' ? 'ia32' : process.arch); + var arch = process.env.VSCODE_ELECTRON_PLATFORM || (process.platform === 'win32' ? 'ia32' : process.arch); return electron.dest(path.join(build, 'electron'), _.extend({}, config, { arch: arch })); }); -- GitLab