-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelectron-builder.json5
49 lines (49 loc) · 1.32 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
/**
* @see https://www.electron.build/configuration/configuration
*/
{
appId: 'app.electron.kiku',
asar: true,
productName: 'Kiku',
directories: {
output: 'release/${version}',
},
files: ['dist', 'dist-electron'],
extraMetadata: {
main: 'dist-electron/main.js',
},
win: {
target: [
{
target: 'nsis',
arch: ['x64'],
},
{
target: 'portable',
},
{
target: 'zip',
},
],
icon: 'public/icons/win/icon.ico',
// artifactName: '${productName}-Windows-${version}-Setup.${ext}',
},
nsis: {
oneClick: false,
perMachine: false,
allowToChangeInstallationDirectory: true,
deleteAppDataOnUninstall: true,
},
mac: {
target: ['mas'],
artifactName: '${productName}-Mac-${version}-Installer.${ext}',
},
linux: {
target: ['AppImage', 'flatpak', 'tar.gz'],
icon: 'public/icons/png/256x256.png',
synopsis: 'An alternative music client for playing music from youtube.',
description: 'An alternative music client for playing music from youtube.',
category: 'Audio',
artifactName: '${productName}-Linux-${version}.${ext}',
},
}