mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-03 06:11:57 +08:00
fixed ARM macOS builds - fixes #6201
This commit is contained in:
parent
9a08bf8782
commit
4a82294741
@ -3,7 +3,11 @@ 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
|
||||
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
|
||||
}
|
||||
|
||||
let lifecycles = []
|
||||
for (let dir of ['app', 'tabby-core', 'tabby-local', 'tabby-ssh', 'tabby-terminal']) {
|
||||
|
Loading…
Reference in New Issue
Block a user