From 95ae4b84a60f998ff0a764169d43ffc577e38e3e Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Tue, 5 Apr 2022 09:39:52 +0200 Subject: [PATCH] fixed windows x64 build --- scripts/build-native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-native.js b/scripts/build-native.js index 9685efa1..9ae47aea 100755 --- a/scripts/build-native.js +++ b/scripts/build-native.js @@ -3,7 +3,7 @@ const rebuild = require('electron-rebuild').default const path = require('path') const vars = require('./vars') -process.env.ARCH = process.env.ARCH || process.arch === 'arm' ? 'armv7l' : process.arch +process.env.ARCH = process.env.ARCH ?? (process.arch === 'arm' ? 'armv7l' : process.arch) let lifecycles = [] for (let dir of ['app', 'tabby-core', 'tabby-local', 'tabby-ssh', 'tabby-terminal']) {