forked from qiusunshine/browser-base-master
-
Notifications
You must be signed in to change notification settings - Fork 0
/
electron-builder.json
92 lines (92 loc) · 1.75 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"appId": "org.hiker.xiu",
"productName": "嗅觉",
"nsis": {
"installerLanguages": [
"zh_CN"
],
"oneClick": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"installerIcon": "./static/icons/icon.ico",
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "嗅觉"
},
"electronVersion": "28.2.4",
"generateUpdatesFilesForAllChannels": true,
"asar": false,
"directories": {
"output": "dist",
"buildResources": "static/icons"
},
"afterPack": "./removeLocales.js",
"extraFiles": [
{
"from": "src/preloads/preload.js",
"to": "./resources/app/build/node_modules/electron-chrome-extensions/dist/preload.js"
},
{
"from": "web.koodoreader.com",
"to": "./resources/app/build/web.koodoreader.com"
}
],
"files": [
"build/**/*",
"package.json",
"static/**/*"
],
"publish": "github",
"linux": {
"category": "Network",
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
},
{
"target": "deb",
"arch": [
"x64"
]
}
]
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "nsis",
"arch": [
"ia32"
]
},
{
"target": "zip",
"arch": [
"x64",
"ia32"
]
}
],
"artifactName": "${productName}电脑版-${version}-${arch}.${ext}"
},
"mac": {
"category": "public.app-category.navigation"
},
"fileAssociations": [
{
"name": "Document",
"description": "Wexond",
"role": "Viewer",
"ext": "html"
}
]
}