forked from RocketChat/Rocket.Chat.Electron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
electron-builder.json
141 lines (141 loc) · 3.79 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
{
"files": ["app/**/*", "package.json"],
"extraResources": ["build/icon.ico", "servers.json"],
"appId": "chat.rocket",
"mac": {
"category": "public.app-category.productivity",
"target": ["dmg", "pkg", "zip", "mas"],
"icon": "build/icon.icns",
"bundleVersion": "88",
"helperBundleId": "chat.rocket.electron.helper",
"type": "distribution",
"artifactName": "rocketchat-${version}-${os}.${ext}",
"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."
},
"hardenedRuntime": true,
"gatekeeperAssess": false,
"provisioningProfile": "embedded.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",
"hardenedRuntime": true,
"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",
"displayName": "Rocket.Chat",
"publisherDisplayName": "Rocket.Chat",
"languages": ["en-US", "en-GB", "pt-BR"]
},
"linux": {
"target": ["AppImage", "tar.gz", "deb", "rpm", "snap"],
"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
}
]
}