-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
electron-builder.config.js
57 lines (57 loc) · 1.09 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
56
57
module.exports = {
appId: 'io.freeter.app',
productName: 'Freeter',
artifactName: '${productName}-${version}-${os}-${arch}.${ext}',
files: [{
from: './build',
to: './'
}, {
from: './',
to: './',
filter: ['package.json']
}],
mac: {
category: 'public.app-category.productivity',
target: [
{
target: 'dmg',
arch: ['x64', 'arm64']
}
],
icon: 'resources/darwin/freeter.icns',
publish: ['github'],
},
dmg: {
background: 'resources/darwin/dmgBg.png',
icon: 'resources/darwin/freeter.icns',
iconSize: 128,
contents: [
{ x: 114, y: 150, type: 'file' },
{ x: 386, y: 150, type: 'link', path: '/Applications' },
]
},
win: {
target: [
{
target: 'msi',
arch: ['x64']
},
{
target: 'zip',
arch: ['x64']
}
],
icon: 'resources/win32/freeter.ico',
publish: ['github'],
},
linux: {
target: [
{
target: 'tar.xz',
arch: ['x64']
}
],
icon: 'resources/linux/freeter-icons',
publish: ['github'],
}
}