-
-
Notifications
You must be signed in to change notification settings - Fork 59
/
electron-builder.yml
69 lines (60 loc) · 1.32 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
productName: ADAMANT Messenger
appId: im.adamant.msg
files:
- "!**/node_modules/**"
- "dist-electron"
- "package.json"
directories:
output: './release-electron'
buildResources: './build'
protocols:
- name: ADAMANT Messenger
schemes:
- adm
# Windows configuration
win:
icon: './build/win/icon.ico'
target:
- 'nsis'
# Config for the windows installer
nsis:
deleteAppDataOnUninstall: true
createDesktopShortcut: 'always'
# Mac OS configuration
mac:
category: 'public.app-category.social-networking'
darkModeSupport: true
icon: './build/osx/icon.icns'
entitlements: './build/osx/entitlements.mac.plist'
entitlementsInherit: './build/osx/entitlements.mac.plist'
hardenedRuntime: true
gatekeeperAssess: false
notarize: false
target:
target: 'default'
arch:
- x64
- arm64
afterSign: 'scripts/electron/notarize.cjs'
# Config for OSX dmg
dmg:
background: './build/osx/background.jpeg'
contents:
- x: 260
y: 77
- x: 163
y: 186
type: 'link'
path: '/Applications'
# Linux configuration
linux:
category: 'InstantMessaging'
desktop:
Icon: './build/linux/icon.png'
Name: 'ADAMANT Messenger'
Terminal: false
Type: 'Application'
artifactName: 'ADAMANT-Messenger-${version}.${ext}'
icon: './build/linux/'
target:
- AppImage