-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforge.config.js
42 lines (41 loc) · 1.02 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
/*
* @Author: 陈德立*******[email protected]
* @Date: 2022-04-15 16:53:53
* @LastEditTime: 2023-03-21 12:08:18
* @LastEditors: 陈德立*******[email protected]
* @Github: https://github.com/Alan1034
* @Description: electron-forge打包配置
* @FilePath: \desktop-map\forge.config.js
*
*/
module.exports = {
packagerConfig: {
// extraResource: ['./assets/Readme.txt', './assets/img/a.png'], // 静态文件
icon: './assets/icon',
asar: true, // 以asar的方法加密,以防源码泄露
osxSign: {} //IOS object must exist even if empty
},
makers: [
{
"name": "@electron-forge/maker-squirrel",
"config": {
"name": "desktop_map",
"setupIcon": "./assets/icon.ico",
}
},
// {
// "name": "@electron-forge/maker-zip",
// "platforms": [
// "darwin"
// ]
// },
// {
// "name": "@electron-forge/maker-deb",
// "config": {}
// },
// {
// "name": "@electron-forge/maker-rpm",
// "config": {}
// }
]
}