114 lines
2.1 KiB
JSON
114 lines
2.1 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"
|
|
]
|
|
}
|
|
],
|
|
"afterSign": "scripts/notarize.js",
|
|
"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"
|
|
]
|
|
}
|
|
],
|
|
"hardenedRuntime": true,
|
|
"gatekeeperAssess": true
|
|
},
|
|
"dmg": {
|
|
"background": "resources/osx/DMG_BG.png",
|
|
"contents": [
|
|
{
|
|
"x": 152,
|
|
"y": 201
|
|
},
|
|
{
|
|
"x": 445,
|
|
"y": 201,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
}
|
|
],
|
|
"iconSize": 110,
|
|
"iconTextSize": 13
|
|
},
|
|
"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}"
|
|
}
|
|
}
|
|
|