-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectron-builder.installer.json
More file actions
63 lines (63 loc) · 1.49 KB
/
Copy pathelectron-builder.installer.json
File metadata and controls
63 lines (63 loc) · 1.49 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
{
"appId": "com.piagent.desktop",
"productName": "Pi Agent Desktop",
"executableName": "PiAgent Desktop",
"asar": true,
"compression": "normal",
"electronLanguages": ["en-US", "zh-CN"],
"directories": {
"output": "release",
"buildResources": "build"
},
"files": [
"app/**/*",
"!app/desktop-settings.json",
"runtime/piagent-runtime.js",
"package.json"
],
"extraResources": [
{
"from": "runtime/piagent-runtime.js",
"to": "runtime/piagent-runtime.js"
},
{
"from": "node_modules/node-win-x64/bin/node.exe",
"to": "runtime/node.exe"
},
{
"from": "runtime/node_modules",
"to": "runtime/node_modules",
"filter": [
"**/*",
"!**/*.map",
"!**/*.d.ts",
"!**/CHANGELOG.md",
"!**/README.md",
"!**/HISTORY.md",
"!**/{test,tests,__tests__,spec}/**/*",
"!**/{docs,example,examples}/**/*"
]
},
{
"from": "runtime/package.json",
"to": "runtime/package.json"
},
{
"from": "runtime/package-lock.json",
"to": "runtime/package-lock.json"
}
],
"win": {
"target": ["nsis"],
"icon": "app/piagent-logo.ico",
"signAndEditExecutable": false
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "Pi Agent Desktop",
"artifactName": "Pi-Agent-Desktop-Setup-${version}.${ext}"
}
}