mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-05 19:09:54 +00:00
build fixes
This commit is contained in:
parent
b5e39dd42f
commit
03823bac34
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -74,6 +74,9 @@ jobs:
|
||||
|
||||
- run: sed -i '' 's/updateInfo = await/\/\/updateInfo = await/g' node_modules/app-builder-lib/out/targets/ArchiveTarget.js
|
||||
|
||||
# Work around electron-builder beta bug
|
||||
- run: ln -s ../../node_modules/electron app/node_modules
|
||||
|
||||
- name: Build and sign packages
|
||||
run: scripts/build-macos.js
|
||||
if: github.repository == 'Eugeny/tabby' && github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags'))
|
||||
|
@ -16,6 +16,7 @@ if (process.env.GITHUB_HEAD_REF) {
|
||||
builder({
|
||||
dir: true,
|
||||
mac: ['pkg', 'zip'],
|
||||
x64: process.env.ARCH === 'x86_64',
|
||||
arm64: process.env.ARCH === 'arm64',
|
||||
config: {
|
||||
extraMetadata: {
|
||||
|
@ -28,6 +28,7 @@ vars.builtinPlugins.forEach(plugin => {
|
||||
electronVersion: vars.electronVersion,
|
||||
arch: process.env.ARCH ?? process.arch,
|
||||
force: true,
|
||||
useCache: false,
|
||||
})
|
||||
}
|
||||
sh.cd('..')
|
||||
|
Loading…
x
Reference in New Issue
Block a user