From e303621fc51695b7037323505b71ef815a265463 Mon Sep 17 00:00:00 2001 From: Jai A P Date: Sun, 10 Apr 2022 17:30:29 +0530 Subject: [PATCH] Update build-native.js --- 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..ee704559 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']) {