-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathelectron-builder-config.js
55 lines (54 loc) · 1.13 KB
/
electron-builder-config.js
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
const config = {
appId: "im.hmt.report.schild",
productName: "schild.report",
artifactName: "schild.report.${ext}",
copyright: `Copyright ${process.env.THE_AUTHOR}`,
extraMetadata: {
author: {
name: `${process.env.THE_AUTHOR}`,
email: `${process.env.THE_EMAIL}`
}
},
files: [
"./build/**/*"
],
win: {
icon: "icons/icon.ico",
target: "msi",
},
linux: {
icon: "icons/icon.png",
category: "app.tools",
executableName: "schild.report",
target: [
"AppImage",
"snap",
"deb",
"rpm"
]
},
mac: {
icon: "icons/icon.icns",
target: "dmg"
},
dmg: {
icon: "icons/icon.icns",
contents: [
{
x: 130,
y: 220
},
{
x: 550,
y: 22,
type: "link",
path: "/Applications"
}
],
window: {
width: 680,
height: 42
}
}
}
module.exports = config