-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathelectron-builder.yaml
47 lines (40 loc) · 1.03 KB
/
electron-builder.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
appId: org.opendataeditor.app
copyright: Copyright © 2023 ${author}
artifactName: opendataeditor-${os}-${version}.${ext}
# General
publish:
provider: github
owner: okfn
releaseType: draft
files:
- 'build/client/**/*'
- 'build/desktop/**/*'
extraResources:
- from: 'build/server'
to: 'server'
# Linux
linux:
maintainer: okfn.org
category: Utility
icon: icon.icns
target:
- AppImage
- deb
# Macos
# Some resources to understand values and github secrets
# https://kilianvalkhof.com/2019/electron/notarizing-your-electron-application/
# https://www.electron.build/code-signing
# https://www.electron.build/app-builder-lib.interface.macconfiguration#notarize
# https://github.com/electron/notarize
mac:
hardenedRuntime: true
entitlements: 'entitlements.mac.plist'
entitlementsInherit: 'entitlements.mac.plist'
# Windows
# Variable ${name} doesn't work on windows
win:
executableName: opendataeditor
nsis:
shortcutName: ${productName}
uninstallDisplayName: ${productName}
createDesktopShortcut: always