-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathelectron-builder.json
71 lines (71 loc) · 2.06 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" : "fr.sylvain-mariel.PTree",
"artifactName" : "${productName}.${ext}",
"directories" : {
"output" : "bin",
"buildResources" : "resources"
},
"asar" : true,
"files": [
"**/*",
"resources/*",
"!bin/*",
"!icons/pngToIcons.sh",
"!icons/original/*",
"!docs/*",
"!sass/*",
"!test/*"
],
"npmRebuild" : false,
"mac": {
"category" : "public.app-category.developer-tools",
"icon" : "resources/app.icns",
"target" : "dmg",
"identity" : "P23QV2X53J",
"type" : "distribution",
"extraFiles" : ["resources/equations.pdf"],
"fileAssociations": {
"ext" : "ptree",
"name" : "PTree",
"icon" : "resources/file.icns",
"role" : "Editor",
"isPackage" : false
}
},
"dmg": {
"iconSize" : 80,
"window" :
{ "x": 400, "y": 100, "width": 540, "height": 380 },
"contents" : [
{ "x": 130, "y": 170, "type" : "file" },
{ "x": 410, "y": 170, "type" : "link", "path" : "/Applications" },
{ "x": 130, "y": 0, "type" : "file", "path" : "resources/example.ptree" },
{ "x": 270, "y": 0, "type" : "file", "path" : "resources/equations.pdf" },
{ "x": 410, "y": 0, "type" : "file", "path" : "LICENSE.md" }
]
},
"win": {
"icon" : "resources/app.ico",
"target" : "dir",
"fileAssociations" : {
"ext" : "ptree",
"name" : "PTree",
"description" : "PTree Project File",
"icon" : "resources/file.ico"
},
"extraFiles" : [
{"from": "resources/example.ptree", "to": "example.ptree"},
{"from": "resources/equations.pdf", "to": "equations.pdf"},
{"from": "LICENSE.md", "to": "LICENSE.txt"}
]
},
"linux": {
"icon" : "resources/png/app",
"target" : {"target":"dir", "arch": "x64"},
"extraFiles" : [
{"from": "resources/example.ptree", "to": "example.ptree"},
{"from": "resources/equations.pdf", "to": "equations.pdf"},
{"from": "LICENSE.md", "to": "LICENSE.txt"}
]
}
}