-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvue.config.js
51 lines (51 loc) · 1.39 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
module.exports = {
pluginOptions: {
electronBuilder: {
builderOptions: {
// options placed here will be merged with default configuration and passed to electron-builder
productName: 'travis-electron-vue-demo',
appId: 'com.example.travis-electron-vue-demo',
nsis: {
oneClick: false,
allowToChangeInstallationDirectory: true,
installerIcon: 'icon/win32/icon.ico',
createDesktopShortcut: true,
createStartMenuShortcut: true
},
dmg: {
contents: [
{
x: 110,
y: 150
},
{
x: 440,
y: 150,
type: 'link',
path: '/Applications'
}
],
artifactName: '${name}-setup-${os}-${arch}-${version}.${ext}'
},
mac: {
icon: 'icon/darwin/icon.icns',
artifactName: '${name}-setup-${os}-${arch}-${version}.${ext}'
},
win: {
icon: 'icon/win32/icon.ico',
artifactName: '${name}-setup-${os}-${arch}-${version}.${ext}'
},
linux: {
icon: 'icon/linux/icon.png',
artifactName: '${name}-setup-${os}-${arch}-${version}.${ext}'
},
publish: [
{
provider: 'github',
releaseType: 'release'
}
]
}
}
}
}