forked from RocketChat/Rocket.Chat.Electron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
electron-builder.json
151 lines (151 loc) · 4.24 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"files": ["app/**/*", "package.json"],
"extraResources": ["build/icon.ico", "servers.json"],
"appId": "chat.rocket",
"protocols": {
"name": "Rocket.Chat",
"schemes": ["rocketchat"]
},
"mac": {
"category": "public.app-category.productivity",
"target": ["dmg", "pkg", "zip", "mas"],
"icon": "build/icon.icns",
"bundleVersion": "24081",
"helperBundleId": "chat.rocket.electron.helper",
"type": "distribution",
"artifactName": "rocketchat-${version}-${os}.${ext}",
"mergeASARs": false,
"extendInfo": {
"NSMicrophoneUsageDescription": "I need access to your microphone to record the audio you want to send.",
"NSCameraUsageDescription": "I need access to your camera to record the video you want to send.",
"NSScreenCaptureDescription": "I need access to your screen to share it through video calls when you want to."
},
"hardenedRuntime": true,
"gatekeeperAssess": false,
"provisioningProfile": "Desktop.provisionprofile"
},
"dmg": {
"background": "build/background.png",
"contents": [
{
"type": "dir",
"x": 100,
"y": 211
},
{
"type": "link",
"path": "/Applications",
"x": 500,
"y": 211
}
]
},
"pkg": {
"isRelocatable": false,
"overwriteAction": "upgrade"
},
"mas": {
"entitlements": "build/entitlements.mas.plist",
"entitlementsInherit": "build/entitlements.mas.inherit.plist",
"entitlementsLoginHelper": "build/entitlements.mas.inherit.plist",
"hardenedRuntime": false,
"asarUnpack": ["node_modules"],
"artifactName": "rocketchat-${version}-mas.${ext}"
},
"win": {
"target": [
{
"target": "nsis",
"arch": ["x64", "ia32"]
},
{
"target": "msi",
"arch": ["x64", "ia32"]
},
{
"target": "zip",
"arch": ["x64", "ia32"]
}
],
"icon": "build/icon.ico",
"publisherName": "Rocket.Chat Technologies Corp.",
"legalTrademarks": "",
"verifyUpdateCodeSignature": true,
"requestedExecutionLevel": "asInvoker",
"signAndEditExecutable": true,
"signDlls": false,
"artifactName": "rocketchat-${version}-${os}-${arch}.${ext}"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"installerIcon": "build/installerIcon.ico",
"uninstallerIcon": "build/uninstallerIcon.ico",
"installerSidebar": "build/installerSidebar.bmp",
"uninstallerSidebar": "build/uninstallerSidebar.bmp",
"uninstallDisplayName": "${productName} ${version}",
"include": "build/installer.nsh",
"license": "LICENSE",
"deleteAppDataOnUninstall": false,
"displayLanguageSelector": false,
"unicode": true,
"warningsAsErrors": true,
"runAfterFinish": true,
"createDesktopShortcut": "always",
"createStartMenuShortcut": true,
"menuCategory": false
},
"appx": {
"backgroundColor": "#2f343d",
"languages": ["en-US", "en-GB", "pt-BR"],
"identityName": "0B67C87C.RocketChat",
"publisher": "CN=BBFF7141-7CAF-4FCD-8930-083FCDE6E854",
"publisherDisplayName": "Rocket.Chat Technologies Corp.",
"applicationId": "RocketChat",
"displayName": "Rocket.Chat"
},
"linux": {
"target": ["AppImage", "tar.gz", "deb", "rpm", "snap", "flatpak"],
"executableName": "rocketchat-desktop",
"category": "GNOME;GTK;Network;InstantMessaging",
"desktop": {
"StartupWMClass": "Rocket.Chat",
"MimeType": "x-scheme-handler/rocketchat"
},
"artifactName": "rocketchat-${version}-${os}-${arch}.${ext}"
},
"rpm": {
"fpm": ["--rpm-rpmbuild-define=_build_id_links none"]
},
"snap": {
"plugs": [
"desktop",
"desktop-legacy",
"home",
"x11",
"unity7",
"browser-support",
"network",
"gsettings",
"pulseaudio",
"opengl",
"camera",
"audio-playback",
"audio-record",
"screen-inhibit-control",
"upower-observe"
]
},
"afterSign": "./build/notarize.js",
"generateUpdatesFilesForAllChannels": true,
"publish": [
{
"provider": "github",
"owner": "RocketChat",
"repo": "Rocket.Chat.Electron",
"vPrefixedTagName": false
}
]
}