mattermost-desktop/electron-builder.json
Dean Whillier 761ef8d0e6
[MM-18152] Desktop notifications (#1040)
* temp

* add in html5 notification tests

* strip out custom permissions handling

* disable middle click

* validate as URI instead of URL

allow’s custom protocol’s to pass through

* add context isolation to new window requests

* add new permissions handling

* prevent setting user to away from quit/shutdown

* dispatch desktop notifications from renderer

* remove test code

* log desktop notification errors

* should deny as a last resort

* only trigger callback once
2019-09-23 14:59:12 -04:00

96 lines
1.8 KiB
JSON

{
"publish": [{
"provider": "generic",
"url": "https://releases.mattermost.com/desktop/"
}],
"appId": "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"
],
"darkModeSupport": true,
"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": [
"nsis",
"zip"
],
"extraFiles": [
{
"filter": [
"LICENSE.txt",
"NOTICE.txt"
]
}
]
},
"nsis": {
"artifactName": "${name}-setup-${version}-win.${ext}"
}
}