forked from mattermost/desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
electron-builder.json
127 lines (126 loc) · 2.64 KB
/
electron-builder.json
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"publish": [{
"provider": "generic",
"url": "https://releases.mattermost.com/desktop/"
}],
"appId": "Mattermost.Desktop",
"artifactName": "${name}-${version}-${os}-${arch}.${ext}",
"directories": {
"buildResources": "resources",
"app": "src",
"output": "release"
},
"files": [
"main_bundle.js",
"browser/**/*{.html,.css,_bundle.js,.svg,.png}",
"assets/**/*",
"browser/assets/fonts/*",
"node_modules/bootstrap/dist/**",
"node_modules/font-awesome/{css,fonts}/**",
"node_modules/simple-spellchecker/dict/*.dic"
],
"protocols": [
{
"name": "Mattermost",
"schemes": [
"mattermost",
"http",
"https",
"ftp",
"mailto",
"tel"
]
}
],
"afterPack": "scripts/afterpack.js",
"afterSign": "scripts/notarize.js",
"deb": {
"synopsis": "Mattermost"
},
"linux": {
"category": "Network;InstantMessaging",
"target": [
"deb",
"tar.gz",
"appimage"
],
"extraFiles": [
{
"filter": [
"LICENSE.txt",
"NOTICE.txt"
]
},
{
"from": "resources/linux",
"filter": [
"create_desktop_file.sh",
"icon.svg",
"README.md"
]
}
]
},
"mac": {
"category": "public.app-category.productivity",
"target": [
"zip",
"dmg"
],
"darkModeSupport": true,
"extraResources": [
{
"filter": [
"LICENSE.txt",
"NOTICE.txt"
]
}
],
"hardenedRuntime": true,
"gatekeeperAssess": true,
"entitlements": "./build/entitlements.mac.plist",
"entitlementsInherit": "./build/entitlements.mac.plist",
"extendInfo": {
"NSMicrophoneUsageDescription": "Microphone access may be used by Mattermost plugins, such as Jitsi video conferencing.",
"NSCameraUsageDescription": "Camera access may be used by Mattermost plugins, such as Jitsi video conferencing."
}
},
"dmg": {
"background": "resources/osx/DMG_BG.png",
"contents": [
{
"x": 152,
"y": 201
},
{
"x": 445,
"y": 201,
"type": "link",
"path": "/Applications"
}
],
"iconSize": 110,
"iconTextSize": 13
},
"squirrelWindows": {
"iconUrl": "file://resources/icon.ico",
"artifactName": "${name}-setup-${version}-${arch}.${ext}"
},
"win": {
"target": [
"nsis",
"zip"
],
"extraFiles": [
{
"filter": [
"LICENSE.txt",
"NOTICE.txt"
]
}
]
},
"nsis": {
"artifactName": "${name}-setup-${version}-win.${ext}"
}
}