-
Notifications
You must be signed in to change notification settings - Fork 107
/
electron-builder.yml
100 lines (89 loc) · 2.12 KB
/
electron-builder.yml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
appId: com.electron.cca
productName: Colour Contrast Analyser
compression: maximum
directories:
output: dist
files:
- "**/*"
releaseInfo:
releaseNotesFile: CHANGELOG.md
extraResources:
- "resources/**"
- "icons/**"
mac:
target:
- target: dmg
arch: universal
- target: zip
arch: universal
hardenedRuntime: true
gatekeeperAssess: false
entitlements: "build/entitlements.mac.plist"
entitlementsInherit: "build/entitlements.mac.plist"
category: public.app-category.developer-tools
artifactName: "${name}-${version}.${ext}"
icon: "build/icon.icns"
type: distribution
publish:
- github
notarize: false
afterSign: "electron-builder-notarize"
dmg:
sign: false
win:
icon: "build/icon.ico"
publisherName: "TPGi Interactive, LLC"
sign: "./src/custom-sign.js"
target:
- target: nsis
arch:
- x64
- target: msi
arch:
- x64
- target: portable
arch:
- x64
publish:
- github
nsis:
artifactName: "${name}-Setup-${env.ARCH}-${version}.${ext}"
oneClick: false
perMachine: true
allowElevation: true
allowToChangeInstallationDirectory: true
deleteAppDataOnUninstall: true
installerIcon: "build/icon.ico"
uninstallerIcon: "build/icon.ico"
uninstallDisplayName: "Uninstall Colour Contrast Analyser (CCA)"
createDesktopShortcut: true
msi:
artifactName: "${name}-Setup-${version}.${ext}"
oneClick: false
perMachine: true
createDesktopShortcut: true
createStartMenuShortcut: true
portable:
artifactName: "${name}-Portable-${env.ARCH}-${version}.${ext}"
linux:
icon: "build/icon.png"
category: "Utility"
desktop:
StartupNotify: "false"
Encoding: "UTF-8"
MimeType: "x-scheme-handler/deeplink"
target: ["AppImage", "rpm", "deb"]
artifactName: "${productName}-Setup-${version}.${ext}"
publish:
- github
deb:
priority: "optional"
#afterInstall:"installer/linux/after-install.tpl",
#rpm:
#fpm: ["--before-install", "installer/linux/before-install.tpl"],
#afterInstall:"installer/linux/after-install.tpl",
publish:
provider: github
repo: CCAe
owner: ThePacielloGroup
releaseType: release