-
Notifications
You must be signed in to change notification settings - Fork 0
/
forge.config.js
43 lines (40 loc) · 1.19 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
const { APP_NAME } = require('./src/main/app-data');
//@https://www.electronforge.io/guides/create-and-add-icons
module.exports = {
// Windows and macOS (icon)
packagerConfig: {
icon: './assets/images/icon', // no file extension required
},
makers: [
{
name: '@electron-forge/maker-dmg',
config: {
name: APP_NAME,
overwrite: true,
format: 'ULFO',
icon: './assets/images/icon.icns'
}
},
{
// @https://github.com/electron/windows-installer
name: '@electron-forge/maker-squirrel',
config: {
name: APP_NAME,
// The ICO file to use as the icon for the generated Setup.exe
setupIcon: './assets/images/icon.ico',
// loading
loadingGif: './assets/images/loading.gif'
}
},
// Linux
{
name: '@electron-forge/maker-deb',
config: {
options: {
name: APP_NAME,
icon: './assets/images/icon.png',
}
}
}
]
}