forked from zenghongtu/PPet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
electron-builder.json
77 lines (77 loc) · 1.57 KB
/
electron-builder.json
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"productName": "PPet3",
"artifactName": "PPet3-${version}.${ext}",
"appId": "com.zenghongtu.ppet-v3",
"asar": true,
"files": ["dist", "package.json", "static/**/*"],
"mac": {
"artifactName": "${productName}_${version}.${ext}",
"target": ["dmg", "zip"],
"category": "public.app-category.development",
"icon": "static/icons/mac/icon.icns",
"darkModeSupport": true
},
"win": {
"icon": "static/icons/win/icon.ico",
"artifactName": "${productName}-v${version}-${os}-${arch}.${ext}",
"target": [
{
"target": "nsis",
"arch": ["x64", "ia32"]
},
{
"target": "zip",
"arch": ["x64", "ia32"]
}
]
},
"nsis": {
"createDesktopShortcut": "always",
"createStartMenuShortcut": true,
"shortcutName": "PPet",
"oneClick": false,
"perMachine": true,
"allowToChangeInstallationDirectory": true,
"artifactName": "${productName}_${version}.${ext}",
"unicode": true
},
"extraFiles": [],
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"linux": {
"icon": "static/icons/png",
"target": [
{
"target": "AppImage",
"arch": ["x64"]
},
{
"target": "deb",
"arch": ["x64"]
}
],
"category": "Development"
},
"publish": [
{
"provider": "github",
"owner": "zenghongtu",
"repo": "PPet"
}
],
"directories": {
"output": "./release"
}
}