mirror of
https://github.com/Eugeny/tabby
synced 2024-11-15 01:17:14 +00:00
Update build-windows.js
This commit is contained in:
parent
1b31187201
commit
725edd53cb
1 changed files with 3 additions and 0 deletions
|
@ -5,9 +5,12 @@ const vars = require('./vars')
|
|||
const isTag = (process.env.GITHUB_REF || process.env.BUILD_SOURCEBRANCH || '').startsWith('refs/tags/')
|
||||
const isCI = !!process.env.GITHUB_REF
|
||||
|
||||
process.env.ARCH = process.env.ARCH || process.arch
|
||||
|
||||
builder({
|
||||
dir: true,
|
||||
win: ['nsis', 'zip'],
|
||||
arm64: process.env.ARCH === 'arm64',
|
||||
config: {
|
||||
extraMetadata: {
|
||||
version: vars.version,
|
||||
|
|
Loading…
Reference in a new issue