-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathforge.config.js
44 lines (42 loc) · 1.23 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
/* Copyright (c) 2023-2024 Zenin Easa Panthakkalakath */
const imagePack = require('./modules/ImagePack');
module.exports = {
packagerConfig: {},
rebuildConfig: {},
makers: [
{
// For windows:
name: '@electron-forge/maker-squirrel',
config: {
// eslint-disable-next-line max-len
iconUrl: 'https://raw.githubusercontent.com/zenineasa/HexHoot/main/modules/ImagePack/images/DesktopIcons/icon_windows.ico',
setupIcon: imagePack.getPath('desktop.windows'),
},
},
{
// For mac:
name: '@electron-forge/maker-dmg',
config: {
icon: imagePack.getPath('desktop.mac'),
},
},
{
// For debian:
name: '@electron-forge/maker-deb',
config: {
options: {
icon: imagePack.getPath('desktop.linux'),
},
},
},
{
// For other linux:
name: '@electron-forge/maker-rpm',
config: {
options: {
icon: imagePack.getPath('desktop.linux'),
},
},
},
],
};