File tree 1 file changed +14
-7
lines changed
1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ const { FuseV1Options, FuseVersion } = require('@electron/fuses');
3
3
4
4
module . exports = {
5
5
packagerConfig : {
6
+ icon : './assets/dmg-background.png' ,
6
7
asar : true ,
7
8
} ,
8
9
rebuildConfig : { } ,
@@ -11,10 +12,23 @@ module.exports = {
11
12
name : '@electron-forge/maker-squirrel' ,
12
13
config : { } ,
13
14
} ,
15
+ {
16
+ name : '@electron-forge/maker-zip' ,
17
+ platforms : [ 'win32' ] , // Windows ZIP 格式
18
+ } ,
14
19
{
15
20
name : '@electron-forge/maker-zip' ,
16
21
platforms : [ 'darwin' ] ,
17
22
} ,
23
+ {
24
+ name : '@electron-forge/maker-dmg' ,
25
+ config : {
26
+ background : './assets/dmg-background.png' ,
27
+ format : 'ULFO' ,
28
+ icon : './assets/dmg-background.png' ,
29
+ overwrite : true ,
30
+ }
31
+ } ,
18
32
{
19
33
name : '@electron-forge/maker-deb' ,
20
34
config : { } ,
@@ -23,13 +37,6 @@ module.exports = {
23
37
name : '@electron-forge/maker-rpm' ,
24
38
config : { } ,
25
39
} ,
26
- {
27
- name : '@electron-forge/maker-dmg' ,
28
- config : {
29
- background : './assets/dmg-background.png' ,
30
- format : 'ULFO'
31
- }
32
- } ,
33
40
] ,
34
41
plugins : [
35
42
{
You can’t perform that action at this time.
0 commit comments