-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvue.config.js
50 lines (50 loc) · 1.27 KB
/
vue.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
module.exports = {
publicPath: process.env.NODE_ENV === 'production' ? './' : './',
pluginOptions: {
publish: {
provider: 'github',
repo: 'bao-tool-site', // git仓库
owner: 'Nisus-Liu', // 拥有者
releaseType: 'release',
vPrefixedTagName: true,
publishAutoUpdate: true // 发布自动更新(需要配置GH_TOKEN)。 默认true
},
electronBuilder: {
nodeIntegration: true,
builderOptions: {
// build配置在此处
// options placed here will be merged with default configuration and passed to electron-builder
"appId": "com.nisus.baotool",
"productName": "BaoTool",
"copyright": "Copyright © 2022 ${author}",
"mac": {
"category": "public.app-category.utilities"
},
"dmg": {
"contents": [
{
"x": 110,
"y": 150
},
{
"x": 240,
"y": 150,
"type": "link",
"path": "/Applications"
}
]
},
"win": {
"target": "nsis"
},
"linux": {
"category": "Utility",
"target": [
"deb",
"AppImage"
]
}
}
}
}
}