-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
34 lines (34 loc) · 1.13 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
module.exports = {
pluginOptions: {
// https://nklayman.github.io/vue-cli-plugin-electron-builder/guide/guide.html
electronBuilder: {
"mainProcessFile": './electron/main.js',
"preload": "./electron/preload.js",
"mainProcessWatch": ['./electron/**/*'],
// https://www.electron.build/configuration/configuration
"builderOptions": {
"appId": "com.daaru.aws-cli-launcher",
"productName": "aws-cli-launcher", // need to be the same as productName because Linux's icon issue
"executableName": "aws-cli-launcher",
"copyright": "Copyright © 2021 Fabio Gollinucci",
"win": {
"target": ["portable", "nsis"],
"icon": "./build/icons/icon.ico"
},
"linux": {
"target": ["deb", "rpm", "tar.gz", "appImage"],
"category": "Office"
},
"mac": {
"target": ["dmg", "pkg", "tar.gz"],
"category": "public.app-category.productivity",
"icon": "./build/icons/icon.icns"
},
"publish": {
"provider": "github",
"releaseType": "release"
}
}
}
}
}