mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-20 10:28:05 +00:00
fixed ARM macOS builds - fixes #6201
This commit is contained in:
@@ -3,7 +3,11 @@ const rebuild = require('electron-rebuild').default
|
|||||||
const path = require('path')
|
const path = require('path')
|
||||||
const vars = require('./vars')
|
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 = []
|
let lifecycles = []
|
||||||
for (let dir of ['app', 'tabby-core', 'tabby-local', 'tabby-ssh', 'tabby-terminal']) {
|
for (let dir of ['app', 'tabby-core', 'tabby-local', 'tabby-ssh', 'tabby-terminal']) {
|
||||||
|
Reference in New Issue
Block a user