forked from aznduck/glance-mvp-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforge.config.js
36 lines (36 loc) · 868 Bytes
/
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
module.exports = {
packagerConfig: {
// Your packager options
asar: true,
// macOS specific options
darwinDarkModeSupport: true,
// icon: './path/to/your/icon.icns' // macOS icon needs .icns format
},
makers: [
{
name: '@electron-forge/maker-dmg',
config: {
// DMG customization options
format: 'ULFO', // Ultra-compressed
// icon: './path/to/your/icon.icns',
// background: './path/to/background.png', // Optional background image
contents: (opts) => {
return [
{
x: 448,
y: 344,
type: 'link',
path: '/Applications'
},
{
x: 192,
y: 344,
type: 'file',
path: opts.appPath
}
];
}
}
}
]
};