-
-
Notifications
You must be signed in to change notification settings - Fork 408
/
vue.config.js
60 lines (59 loc) · 1.97 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
51
52
53
54
55
56
57
58
59
60
module.exports = {
pluginOptions: {
electronBuilder: {
preload: './src/preload.js',
// Or, for multiple preload files:
builderOptions: {
"appId": "app.anubias.desktop",
"productName": "Anubias",
"copyright": "Copyright © 2021 ${author}",
"mac": {
"target": "dmg",
"icon": "./public/icon.icns",
"category": "public.app-category.developer-tools"
},
"win": {
"target": [
"msi",
"portable",
"appx"
],
"icon": "./public/256x256.png"
},
"linux": {
"category": "Development",
"target": ["AppImage","Snap",'deb','rpm'],
"desktop": "./public/anubias.desktop"
},
"snap": {
"confinement": "classic",
"publish": "snapStore",
"grade": "stable"
},
"directories": {
"buildResources": "public",
},
// "publish": null,
"fileAssociations": [
{
"ext": "anb",
"name": "Anbuias project",
"role": "None",
"mimeType": "application/json",
"description": "Anubias project file to develop native app anywhere painless"
}
],
"extraResources": [
{
"from": "resources",
"to": "resources",
"filter": ["**/*"]
}
],
},
"files": [
"**/*"
],
}
}
};