mirror of
https://github.com/Eugeny/tabby
synced 2024-11-15 01:17:14 +00:00
Update build-native.js
This commit is contained in:
parent
b6d0bd2d43
commit
7c5e136c31
1 changed files with 3 additions and 4 deletions
|
@ -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 a new issue