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:
parent
b6d0bd2d43
commit
7c5e136c31
@ -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 = []
|
||||
|
Loading…
Reference in New Issue
Block a user