forked from openimsdk/openim-electron-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelectron-builder.json5
44 lines (44 loc) · 1022 Bytes
/
electron-builder.json5
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
/**
* @see https://www.electron.build/configuration/configuration
*/
{
appId: "io.openim.desktop.demo",
asar: true,
extends: null,
directories: {
output: "release/Demo/${version}",
},
files: ["dist-electron", "dist"],
productName: "OpenIM-Demo",
mac: {
artifactName: "${productName}_${version}_${arch}.${ext}",
target: ["dmg"],
icon: "./dist/icons/mac_icon.png",
},
win: {
target: [
{
target: "nsis",
arch: ["x64"],
},
],
artifactName: "${productName}_${version}.${ext}",
icon: "./dist/icons/icon.ico",
},
linux: {
icon: "./dist/icons/icon.png",
target: "deb",
maintainer: "openim-demo",
artifactName: "${productName}_${version}_${arch}.${ext}",
},
nsis: {
oneClick: false,
perMachine: true,
allowElevation: true,
allowToChangeInstallationDirectory: true,
createDesktopShortcut: true,
createStartMenuShortcut: true,
deleteAppDataOnUninstall: true,
shortcutName: "OpenIM-Demo",
},
}