forked from Postcatlab/postcat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
electron-builder.json
71 lines (71 loc) · 1.61 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
{
"appId": ".postcat.io",
"productName": "Postcat",
"asar": true,
"directories": {
"output": "release/"
},
"files": [
"out/app/**/*.js*",
"out/platform/**/*.js*",
"out/environment.js",
"out/shared/**/*.js*",
"src/workbench/browser/dist/**/*",
"out/workbench/browser/src/**/*.js*",
"out/workbench/node/**/*.js*",
"out/app/common/**/*",
"!**/*.ts"
],
"publish": [
"github",
{
"provider": "generic",
"url": "https://packages.postcat.com"
}
],
"afterPack": "./scripts/afterPackHook.js",
"generateUpdatesFilesForAllChannels": true,
"nsis": {
"oneClick": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
// for win - 将协议写入主机的脚本
"include": "scripts/urlProtoco.nsh"
},
"protocols": [
// for macOS - 用于在主机注册指定协议
{
"name": "eoapi",
"schemes": ["eoapi"]
}
],
"win": {
"icon": "src/app/common/images/logo.ico",
"target": [
{
"target": "nsis"
},
"portable"
]
},
"portable": {
"splashImage": "src/app/common/images/postcat.bmp"
},
"mac": {
"icon": "src/app/common/images/512x512.png",
"hardenedRuntime": true,
"category": "public.app-category.productivity",
"gatekeeperAssess": false,
"entitlements": "scripts/entitlements.mac.plist",
"entitlementsInherit": "scripts/entitlements.mac.plist",
"target": ["dmg", "zip"]
},
"dmg": {
"sign": false
},
"afterSign": "scripts/notarize.js",
"linux": {
"icon": "src/app/common/images/",
"target": ["AppImage"]
}
}