-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
vue.config.js
47 lines (46 loc) · 1.42 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
/* eslint-disable prettier/prettier */
// const path = require("path");
module.exports = {
transpileDependencies: ["vuetify"],
// chainWebpack: config => {
// config.plugin("copy").tap(args => {
// args.push([{
// from: path.join(__dirname, "src/media"),
// to: path.join(__dirname, "dist_electron"),
// toType: "dir"
// }]); //add
// return args;
// });
// },
pluginOptions: {
electronBuilder: {
nodeIntegration: true,
builderOptions: {
"publish": ['github'],
"productName": "YaMusic.app",
"appId": "com.github.dedpnd.yamusic",
"win": {
"target": [
"nsis"
],
"icon": "./build/icons/icon.ico"
},
"mac": {
"category": "public.app-category.music",
"target": [
"dmg"
],
"icon": "./build/icons/icon.icns"
},
"linux": {
"category": "Audio",
"target": [
"AppImage",
"deb"
],
"icon": "./build/icons/256x256.png"
}
}
},
}
};