-
Notifications
You must be signed in to change notification settings - Fork 9
/
vue.config.js
47 lines (47 loc) · 1.11 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
module.exports = {
pages: {
home: 'src/renderer/pages/home/main.ts',
login: 'src/renderer/pages/login/main.ts'
},
pluginOptions: {
electronBuilder: {
mainProcessFile: 'src/main/index.ts',
nodeIntegration: false,
preload: {
preload: 'src/main/preload/index.ts'
},
mainProcessWatch: ['src/main/'],
builderOptions: {
productName: 'README',
copyright: 'Copyright @ 2021 hunlongyu',
appId: 'com.hunlongyu.readme',
publish: [
{
provider: 'github',
owner: 'Hunlongyu',
repo: 'ReadMe'
}
],
nsis: {
oneClick: false,
allowToChangeInstallationDirectory: true
},
win: {
target: 'nsis',
icon: 'build/icons/icon.ico'
},
mac: {
icon: 'build/icon/icon.icns',
category: 'public.app-category.developer-tools',
target: 'default'
},
linux: {
icon: 'build/icons/256x256.png'
},
snap: {
publish: ['github']
}
}
}
}
}