Skip to content

Commit

Permalink
build universal binaries for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
zviadm committed May 24, 2024
1 parent 6bff8ab commit d4fd8a8
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,32 @@ files: [
]

mac:
artifactName: ${productName}-${version}-${os}-${arch}.${ext}
artifactName: ${productName}-${version}-${os}-universal.${ext}
category: "public.app-category.finance"
hardenedRuntime: true
entitlements: ./buildcfg/mac/entitlements.plist
entitlementsInherit: ./buildcfg/mac/entitlements.plist
target:
- dmg
- zip
- target: dmg
arch: ["universal"]
- target: zip
arch: ["universal"]
publish: ["github"]

win:
artifactName: ${productName}-${version}-${os}-${arch}.${ext}
artifactName: ${productName}-${version}-${os}-x64.${ext}
target:
- target: nsis
arch: ["x64"]
publish: ["github"]

linux:
artifactName: ${productName}-${version}-${os}-${arch}.${ext}
artifactName: ${productName}-${version}-${os}-x64.${ext}
category: Finance
target:
- target: AppImage
arch:
- x64
arch: ["x64"]

publish:
provider: "github"
owner: "zviadm"

0 comments on commit d4fd8a8

Please sign in to comment.