mirror of
https://github.com/jgraph/drawio-desktop
synced 2025-04-29 16:27:22 +08:00
72 lines
1.4 KiB
JSON
72 lines
1.4 KiB
JSON
{
|
|
"appId": "com.jgraph.drawio.desktop",
|
|
"copyright": "Copyright 2017-2025 JGraph Ltd",
|
|
"asar": true,
|
|
"files": [
|
|
"**/*",
|
|
"!**/WEB-INF{,/**}"
|
|
],
|
|
"directories": {
|
|
"output": "./dist/"
|
|
},
|
|
"npmRebuild": false,
|
|
"publish": {
|
|
"provider": "github"
|
|
},
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
},
|
|
{
|
|
"target": "portable",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
},
|
|
{
|
|
"target": "msi",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"nsis": {
|
|
"artifactName": "${productName}-${version}-windows-installer.${ext}",
|
|
"oneClick": false,
|
|
"perMachine": true,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"runAfterFinish": false,
|
|
"createDesktopShortcut": false
|
|
},
|
|
"msi": {
|
|
"artifactName": "${productName}-${version}.${ext}",
|
|
"runAfterFinish": false,
|
|
"createDesktopShortcut": false
|
|
},
|
|
"portable": {
|
|
"artifactName": "${productName}-${version}-windows-no-installer.${ext}"
|
|
},
|
|
"afterPack": "build/fuses.cjs",
|
|
"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"
|
|
}
|
|
]
|
|
}
|