-
Notifications
You must be signed in to change notification settings - Fork 3
/
forge.config.js
51 lines (50 loc) · 1.59 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
const { version } = require('./package.json');
module.exports = {
packagerConfig: {
icon: 'icon/cvrx-logo',
},
rebuildConfig: {},
makers: [
{
name: '@electron-forge/maker-squirrel',
config: {
// URL to an ICO file to use as the application icon (displayed in Control Panel > Programs and Features).
iconUrl: 'https://raw.githubusercontent.com/AstroDogeDX/CVRX/main/icon/cvrx-logo.ico',
// The ICO file to use as the icon for the generated Setup.exe
setupIcon: 'icon/cvrx-logo.ico',
loadingGif: 'icon/loading.gif',
setupExe: `CVRX-v${version}-Windows.exe`,
},
},
{
name: '@electron-forge/maker-zip',
platforms: ['darwin', 'linux'],
},
{
name: '@electron-forge/maker-deb',
config: {
options: {
maintainer: 'AstroDoge & Kafeijao',
homepage: 'https://github.com/AstroDogeDX/CVRX',
icon: 'icon/cvrx-logo.png',
},
},
},
{
name: '@electron-forge/maker-rpm',
config: {
options: {
icon: 'icon/cvrx-logo.png',
homepage: 'https://github.com/AstroDogeDX/CVRX',
},
},
},
{
name: '@electron-forge/maker-dmg',
config: {
overwrite: true,
icon: 'icon/cvrx-logo.icns',
},
},
],
};