Update build-native.js

This commit is contained in:
Jai A P 2022-04-06 16:35:38 +05:30 committed by GitHub
parent 49934aea5d
commit 1a37ba224d

View File

@ -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']) {