1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-22 10:01:40 +03:00

Update build-native.js

This commit is contained in:
Jai A P 2022-04-23 14:05:44 +05:30 committed by GitHub
parent b6d0bd2d43
commit 7c5e136c31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,10 +3,9 @@ const rebuild = require('electron-rebuild').default
const path = require('path')
const vars = require('./vars')
if (process.platform === 'win32' || process.platform === 'linux') {
process.env.ARCH = (process.env.ARCH || process.arch) === 'arm' ? 'armv7l' : process.arch
} else {
process.env.ARCH ??= process.arch
process.env.ARCH = process.env.ARCH || process.arch
if (process.env.ARCH === 'arm') {
process.env.ARCH = 'armv7l'
}
let lifecycles = []