-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelectron-builder.json5
111 lines (111 loc) · 1.99 KB
/
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
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
{
productName: 'Paper',
appId: 'com.paper.app',
asar: true,
extends: null,
compression: 'maximum',
copyright: 'ⓒ 2023 ${author}',
artifactName: '${productName} ${version}_${arch}.${ext}',
directories: {
buildResources: 'buildAssets',
output: './release/${version}'
},
/* A list of files not to be included in the build. */
files: [
/*
(Required) The files and folders listed below should not be included in the build.
*/
'dist/**/*',
'!docs/**/*',
'!release/**/*'
],
fileAssociations: [
{
ext: 'md',
name: 'Markdown',
description: 'Paper Markdown File',
role: 'Editor'
},
{
ext: 'rt',
name: 'RichText',
description: 'Paper RichText File, It is Html',
role: 'Editor'
}
],
mac: {
bundleVersion: '1.0',
hardenedRuntime: true,
gatekeeperAssess: false,
icon: 'buildAssets/icons/icon.icns',
type: 'distribution',
target: [
{
target: 'dmg',
arch: ['x64', 'arm64', 'universal']
}
]
},
dmg: {
contents: [
{
x: 410,
y: 150,
type: 'link',
path: '/Applications'
},
{
x: 130,
y: 150,
type: 'file'
}
],
sign: false
},
win: {
icon: 'buildAssets/icons/icon.ico',
target: [
{
target: 'appx',
arch: 'x64'
},
{
target: 'zip',
arch: 'x64'
},
{
target: 'portable',
arch: 'x64'
},
{
target: 'nsis',
arch: 'x64'
}
]
},
portable: {
artifactName: '${productName} ${version}_${arch} Portable.${ext}'
},
nsis: {
oneClick: true
},
linux: {
executableName: 'vutron',
icon: 'buildAssets/icons',
category: 'Utility',
target: [
{
target: 'snap',
arch: 'x64'
},
{
target: 'deb',
arch: 'x64'
},
{
target: 'rpm',
arch: 'x64'
}
]
}
}