forked from Adamant-im/adamant-im
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
76 lines (65 loc) · 1.47 KB
/
Copy pathelectron-builder.yml
File metadata and controls
76 lines (65 loc) · 1.47 KB
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
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
- universal
afterSign: 'scripts/electron/notarize.cjs'
afterAllArtifactBuild: 'scripts/electron/staple.cjs'
afterPack: 'scripts/electron/sandboxFix.mjs'
# Config for OSX dmg
dmg:
sign: true
background: './build/osx/background.jpeg'
contents:
- x: 260
y: 77
- x: 163
y: 186
type: 'link'
path: '/Applications'
# Linux configuration
linux:
category: 'InstantMessaging'
artifactName: 'ADAMANT-Messenger-${version}.${ext}'
desktop:
entry:
Icon: './build/linux/icon.png'
Name: 'ADAMANT Messenger'
Terminal: false
Type: 'Application'
icon: './build/linux/'
target:
- AppImage