-
Notifications
You must be signed in to change notification settings - Fork 0
/
electron-builder.config.js
51 lines (50 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
/**
* @type {import('electron-builder').Configuration}
* @see https://www.electron.build/configuration/configuration
*/
const config = {
appId: 'YourAppID',
asar: true,
directories: {
output: 'release/${version}',
buildResources: 'buildResources',
},
files: [
'dist'
],
mac: {
artifactName: '${productName}_${version}.${ext}',
target: [
'dmg'
]
},
win: {
target: [
{
target: 'nsis',
arch: [
'x64'
]
}
],
artifactName: '${productName}_${version}.${ext}',
publish: 'github',
icon: 'buildResources/icon.ico'
},
linux: {
icon: 'buildResources/icon.png',
target: ['snap', 'pacman', 'AppImage', 'deb', 'rpm'],
artifactName: '${productName}_${version}.${ext}',
category: 'Development',
maintainer: 'Luis Gabriel janco',
publish: 'github',
},
nsis: {
oneClick: true,
license: 'buildResources/LICENCE.md',
installerIcon: 'buildResources/icon.ico',
uninstallerIcon: 'buildResources/icon.ico',
deleteAppDataOnUninstall: false
}
}
module.exports = config