-
-
Notifications
You must be signed in to change notification settings - Fork 390
Expand file tree
/
Copy pathelectron-builder.json
More file actions
102 lines (102 loc) · 3.48 KB
/
Copy pathelectron-builder.json
File metadata and controls
102 lines (102 loc) · 3.48 KB
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
93
94
95
96
97
98
99
100
101
102
{
"appId": "com.xbyboxplayer.app",
"productName": "BoxPlayer",
"protocols": [
{
"name": "xbyboxplayer OAuth",
"schemes": ["xbyboxplayer-oauth", "boxplayer-onedriveoauth"]
}
],
"copyright": "copyright ©2026 GaoZhangMin",
"asar": true,
"compression": "maximum",
"npmRebuild": true,
"buildDependenciesFromSource": true,
"directories": { "output": "release" },
"files": [ "dist" ],
"extraResources": [
{ "from": "./static/engine/aria2.conf", "to": "./engine/aria2.conf"},
{ "from": "./static/crx", "to": "./crx"},
{ "from": "./scripts/clouddrive-cli.mjs", "to": "./cli/clouddrive-cli.mjs"},
{ "from": "./scripts/clouddrive-mcp.mjs", "to": "./cli/clouddrive-mcp.mjs"},
{ "from": "./clouddrive-cli", "to": "./clouddrive-cli"}
],
"mac": {
"icon": "./static/images/icon.icns",
"type": "distribution",
"artifactName": "boxplayer-${version}-mac-${arch}.${ext}",
"darkModeSupport": true,
"hardenedRuntime": true,
"gatekeeperAssess": false,
"category": "public.app-category.utilities",
"entitlements": "./build/entitlements.mac.plist",
"entitlementsInherit": "./build/entitlements.mac.plist",
"extraResources": [
{ "from": "./static/images/icon.icns", "to": "./images/icon.icns"},
{ "from": "./static/images/icon_30x30.png", "to": "./images/icon_30x30.png"},
{ "from": "./static/engine/darwin/${arch}", "to": "./engine/darwin/${arch}"}
],
"target": [
{ "target": "dmg", "arch": [ "x64", "arm64" ] },
{ "target": "zip", "arch": [ "x64", "arm64" ] }
],
"notarize": true
},
"linux": {
"executableName": "boxplayer",
"icon": "./static/images/icon_256x256.png",
"category": "Network",
"artifactName": "boxplayer-${version}-linux-${arch}.${ext}",
"extraResources": [
{ "from": "./static/images/icon_30x30.png", "to": "./images/icon_30x30.png"},
{ "from": "./static/images/icon_64x64.png", "to": "./images/icon_64x64.png"},
{ "from": "./static/images/icon_256x256.png", "to": "./images/icon_256x256.png"},
{ "from": "./static/engine/linux/${arch}", "to": "./engine/linux/${arch}"}
],
"target": [
{ "target": "AppImage", "arch": [ "x64", "arm64"] },
{ "target": "deb", "arch": [ "x64", "arm64"] },
{ "target": "pacman", "arch": [ "x64", "arm64"] }
]
},
"deb": {
"fpm": ["--deb-no-default-config-files"]
},
"win": {
"icon": "./static/images/icon_256x256.ico",
"artifactName": "boxplayer-${version}-win-${arch}.${ext}",
"requestedExecutionLevel": "asInvoker",
"extraResources": [
{ "from": "./static/images/icon_64x64.png", "to": "./images/icon_64x64.png"},
{ "from": "./static/images/icon_256x256.ico", "to": "./images/icon_256x256.ico"},
{ "from": "./static/engine/win32/${arch}", "to": "./engine/win32/${arch}", "filter": ["**/*", "!mpv{,/**}"]}
],
"target": [
{ "target": "nsis", "arch": [ "x64" ] }
]
},
"dmg": {
"title": "BoxPlayer",
"window": { "width": 560, "height": 320 },
"iconSize": 96,
"contents": [
{ "x": 400, "y": 160, "type": "link", "path": "/Applications" },
{ "x": 160, "y": 160, "type": "file" }
]
},
"nsis": {
"oneClick": false,
"perMachine": true,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false
},
"publish": [
{
"owner": "gaozhangmin",
"repo": "boxplayer",
"provider": "github",
"releaseType": "prerelease"
}
]
}