-
Notifications
You must be signed in to change notification settings - Fork 0
/
electronrc.js
47 lines (47 loc) · 888 Bytes
/
electronrc.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 = {
productName: 'Hyrule',
appId: 'com.zWing.Hyrule',
directories: {
output: 'package'
},
files: ['dist/**/*'],
copyright: 'Copyright © 2019 zWing',
asar: true,
artifactName: '${productName}-${version}.${ext}',
// compression: 'maximum',
dmg: {
contents: [
{
x: 410,
y: 150,
type: 'link',
path: '/Applications'
},
{
x: 130,
y: 150,
type: 'file'
}
]
},
mac: {
icon: 'build/icons/icon.png'
},
win: {
icon: 'build/icons/icon.png',
target: 'nsis',
legalTrademarks: 'Eyas Personal'
},
nsis: {
allowToChangeInstallationDirectory: true,
oneClick: false,
menuCategory: true,
allowElevation: false
},
linux: {
icon: 'build/icons'
},
electronDownload: {
mirror: 'http://npm.taobao.org/mirrors/electron/'
}
}