-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Expand file tree
/
Copy pathelectron-builder-snap.json
More file actions
72 lines (72 loc) · 1.71 KB
/
Copy pathelectron-builder-snap.json
File metadata and controls
72 lines (72 loc) · 1.71 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
{
"appId": "com.jgraph.drawio.desktop",
"copyright": "Copyright 2017-2026 draw.io Ltd",
"asar": true,
"files": [
"**/*",
"!**/WEB-INF{,/**}",
"!drawio/src/main/webapp/stencils/**/*.xml",
"!drawio/src/main/webapp/shapes{,/**}",
"!drawio/src/main/webapp/js/diagramly{,/**}",
"drawio/src/main/webapp/js/diagramly/{ElectronApp,DesktopLibrary}.js",
"!drawio/src/main/webapp/js/grapheditor{,/**}",
"!drawio/src/main/webapp/mxgraph/src{,/**}",
"!drawio/src/main/webapp/mxgraph/mxClient.js",
"!node_modules/@cantoo/pdf-lib/{cjs,dist,src,ts3.4}{,/**}",
"!**/*.map"
],
"artifactName": "${productName}-${arch}-${version}.${ext}",
"directories": {
"output": "./dist/"
},
"npmRebuild": false,
"linux": {
"executableName": "drawio",
"category": "Graphics",
"maintainer": "draw.io <snap@draw.io>",
"icon": "./build",
"desktop": {
"entry": {
"StartupWMClass": "draw-io"
}
},
"target": [
"snap"
]
},
"snapcraft": {
"base": "core24",
"core24": {
"useLXD": true,
"plugs": [
"default",
"removable-media",
"browser-support"
]
}
},
"afterPack": "build/fuses.mjs",
"fileAssociations": [
{
"ext": "drawio",
"name": "draw.io Diagram",
"description": "draw.io Diagram",
"mimeType": "application/vnd.jgraph.mxfile",
"role": "Editor"
},
{
"ext": "vsdx",
"name": "VSDX Document",
"description": "VSDX Document",
"mimeType": "application/vnd.visio",
"role": "Editor"
},
{
"ext": ["mmd", "mermaid"],
"name": "Mermaid Diagram",
"description": "Mermaid Diagram",
"mimeType": "text/vnd.mermaid",
"role": "Editor"
}
]
}