mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-27 14:59:57 +00: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 path = require('path')
|
||||||
const vars = require('./vars')
|
const vars = require('./vars')
|
||||||
|
|
||||||
if (process.platform === 'win32' || process.platform === 'linux') {
|
process.env.ARCH = process.env.ARCH || process.arch
|
||||||
process.env.ARCH = (process.env.ARCH || process.arch) === 'arm' ? 'armv7l' : process.arch
|
if (process.env.ARCH === 'arm') {
|
||||||
} else {
|
process.env.ARCH = 'armv7l'
|
||||||
process.env.ARCH ??= process.arch
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let lifecycles = []
|
let lifecycles = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user