mattermost-desktop/electron-builder.json
2018-09-22 09:10:41 +02:00

88 lines
1.6 KiB
JSON

{
"appId": "com.mattermost.desktop",
"artifactName": "${name}-${version}-${os}-${arch}.${ext}",
"directories": {
"buildResources": "resources",
"app": "src",
"output": "release"
},
"files": [
"main_bundle.js",
"browser/**/*{.html,.css,_bundle.js}",
"assets/**/*",
"node_modules/bootstrap/dist/**",
"node_modules/simple-spellchecker/dict/*.dic"
],
"protocols": [
{
"name": "Mattermost",
"schemes": ["mattermost"]
}
],
"deb": {
"synopsis": "Mattermost"
},
"linux": {
"category": "Network;InstantMessaging",
"target": [
"deb",
"tar.gz",
"appimage"
],
"extraFiles": [
{
"filter": [
"LICENSE.txt",
"NOTICE.txt"
]
},
{
"from": "resources/linux",
"filter": [
"create_desktop_file.sh",
"icon.svg",
"README.md"
]
}
]
},
"mac": {
"category": "public.app-category.productivity",
"target": [
"zip",
"dmg"
],
"extraResources": [
{
"filter": [
"LICENSE.txt",
"NOTICE.txt"
]
}
]
},
"dmg": {
"background": "resources/osx/DMG_BG.png",
"iconSize": 140,
"iconTextSize": 18
},
"squirrelWindows": {
"iconUrl": "file://resources/icon.ico",
"artifactName": "${name}-setup-${version}-${arch}.${ext}"
},
"win": {
"target": [
"squirrel",
"zip"
],
"extraFiles": [
{
"filter": [
"LICENSE.txt",
"NOTICE.txt"
]
}
]
}
}