-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathvue.config.js
More file actions
30 lines (30 loc) · 987 Bytes
/
vue.config.js
File metadata and controls
30 lines (30 loc) · 987 Bytes
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
module.exports = {
lintOnSave: false,
pluginOptions: {
electronBuilder: {
builderOptions: {
appId: "com.electron.zzplayer",
productName: "OrangePlayer",
publish: ["github"],
fileAssociations: [
{
ext: ["mp3", "wav", "flac", "ogg", "m4a"],
name: "music",
role: "Editor"
}
],
win: {
icon: "public/orange.ico"
},
mac: {
target: "dmg",
icon: "public/orange512.png"
},
nsis: {
oneClick: false, // 是否一键安装,建议为 false,可以让用户点击下一步、下一步、下一步的形式安装程序,如果为true,当用户双击构建好的程序,自动安装程序并打开,即:一键安装
allowToChangeInstallationDirectory: true // 允许修改安装目录,建议为 true,是否允许用户改变安装目录,默认是不允许
}
}
}
}
};