mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-22 10:01:40 +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/')
|
||||
|
||||
process.env.ARCH = process.env.ARCH || process.arch
|
||||
if (process.env.ARCH === 'arm') {
|
||||
process.env.ARCH = 'armv7l'
|
||||
}
|
||||
process.env.ARCH = ((process.env.ARCH || process.arch) === 'arm') ? 'armv7l' : process.env.ARCH || process.arch
|
||||
|
||||
builder({
|
||||
dir: true,
|
||||
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',
|
||||
config: {
|
||||
extraMetadata: {
|
||||
|
Loading…
Reference in New Issue
Block a user