-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathelectron-builder.json
More file actions
48 lines (48 loc) · 1.21 KB
/
electron-builder.json
File metadata and controls
48 lines (48 loc) · 1.21 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
{
"appId": "com.electron.ray",
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"removePackageScripts": true,
"directories": {
"output": "dist"
},
"win": {
"target": ["nsis", "portable"],
"icon": "static/icon.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": "always",
"artifactName": "${productName}-${version}-${os}-${arch}-setup.${ext}"
},
"portable": {
"artifactName": "${productName}-${version}-${os}-${arch}-portable.${ext}"
},
"mac": {
"category": "public.app-category.productivity",
"icon": "static/icon.icns",
"hardenedRuntime": true,
"gatekeeperAssess": false
},
"linux": {
"target": ["AppImage", "deb"],
"category": "Utility",
"icon": "static/icon.png"
},
"files": [
{
"from": "build",
"to": ".",
"filter": ["**/*"]
},
{
"from": "src/main/static",
"to": "static",
"filter": ["**/*"]
},
"package.json",
"!node_modules/**/{CONTRIBUTING.md,CHANGELOG.md,README.md,README,readme.md,readme}",
"!node_modules/**/{src,demo,test,__tests__,tests,powered-test,example,examples}",
"!node_modules/**/*.map"
]
}