Update build-native.js

This commit is contained in:
Jai A P 2022-04-06 17:01:13 +05:30 committed by GitHub
parent 3287f410b7
commit f18c58360d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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