-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforge.config.js
74 lines (72 loc) · 1.83 KB
/
forge.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
const path = require('path');
const appIcon = () => {
switch (process.platform) {
case 'win32': return path.join('src', 'renderer', 'assets', 'icons','win','icon.ico');
case 'linux': return path.join('src', 'renderer','assets', 'icons','png','1024x1024.png');
case 'darwin': return path.join('src', 'renderer','assets', 'icons','mac','icon.icns');
}
}
module.exports = {
'packagerConfig': {
'icon': appIcon(),
'asar': true
},
'makers': [
{
'name': '@electron-forge/maker-squirrel',
'config': {
'name': 'music_tagger',
'loadingGif': path.join('src', 'renderer', 'assets', 'splash-screen.gif'),
'setupIcon': path.join('src', 'renderer', 'assets', 'icons','win','icon.ico'),
'skipUpdateIcon': true
}
},
{
'name': '@electron-forge/maker-zip',
'platforms': [
'darwin'
]
},
{
'name': '@electron-forge/maker-deb',
'config': {
'options': {
'maintainer': 'Jose Vega',
'homepage': 'https://github.com/jvegaf/music-tagger',
'icon': 'src/renderer/assets/icons/mac/icon.icns',
'categories': [
'AudioVideo',
'Audio',
'AudioVideoEditing'
]
}
}
},
{
'name': '@electron-forge/maker-rpm',
'config': {
'options': {
'maintainer': 'Jose Vega',
'homepage': 'https://github.com/jvegaf/music-tagger',
'icon': 'src/renderer/assets/icons/mac/icon.icns',
'categories': [
'AudioVideo',
'Audio',
'AudioVideoEditing'
]
}
}
}
],
'publishers': [
{
name: '@electron-forge/publisher-github',
config: {
repository: {
owner: 'jvegaf',
name: 'music-tagger'
}
}
}
]
}