mirror of
https://github.com/Eugeny/tabby.git
synced 2025-01-03 08:04:02 +03:00
Update build-linux.js
This commit is contained in:
parent
2af4714d66
commit
5e217cf654
@ -4,15 +4,12 @@ const vars = require('./vars')
|
|||||||
|
|
||||||
const isTag = (process.env.GITHUB_REF || '').startsWith('refs/tags/')
|
const isTag = (process.env.GITHUB_REF || '').startsWith('refs/tags/')
|
||||||
|
|
||||||
process.env.ARCH = process.env.ARCH || process.arch
|
process.env.ARCH = ((process.env.ARCH || process.arch) === 'arm') ? 'armv7l' : process.env.ARCH || process.arch
|
||||||
if (process.env.ARCH === 'arm') {
|
|
||||||
process.env.ARCH = 'armv7l'
|
|
||||||
}
|
|
||||||
|
|
||||||
builder({
|
builder({
|
||||||
dir: true,
|
dir: true,
|
||||||
linux: ['deb', 'tar.gz', 'rpm', 'pacman'],
|
linux: ['deb', 'tar.gz', 'rpm', 'pacman'],
|
||||||
armv7l: process.env.ARCH === 'armv7l' || process.env.ARCH === 'arm',
|
armv7l: process.env.ARCH === 'armv7l',
|
||||||
arm64: process.env.ARCH === 'arm64',
|
arm64: process.env.ARCH === 'arm64',
|
||||||
config: {
|
config: {
|
||||||
extraMetadata: {
|
extraMetadata: {
|
||||||
|
Loading…
Reference in New Issue
Block a user