128 lines
2.6 KiB
JSON
128 lines
2.6 KiB
JSON
{
|
|
"publish": [{
|
|
"provider": "generic",
|
|
"url": "https://releases.mattermost.com/desktop/"
|
|
}],
|
|
"appId": "Mattermost.Desktop",
|
|
"artifactName": "${name}-${version}-${os}-${arch}.${ext}",
|
|
"directories": {
|
|
"buildResources": "src/assets",
|
|
"output": "release"
|
|
},
|
|
"extraMetadata": {
|
|
"main": "index.js"
|
|
},
|
|
"files": [
|
|
"node_modules/bootstrap/dist/**",
|
|
"node_modules/font-awesome/{css,fonts}/**",
|
|
{
|
|
"from": "dist",
|
|
"to": ".",
|
|
"filter": "**/*"
|
|
}
|
|
],
|
|
"protocols": [
|
|
{
|
|
"name": "Mattermost",
|
|
"schemes": [
|
|
"mattermost",
|
|
"http",
|
|
"https",
|
|
"ftp",
|
|
"mailto",
|
|
"tel"
|
|
]
|
|
}
|
|
],
|
|
"afterPack": "scripts/afterpack.js",
|
|
"afterSign": "scripts/notarize.js",
|
|
"deb": {
|
|
"synopsis": "Mattermost Desktop App"
|
|
},
|
|
"linux": {
|
|
"category": "Network;InstantMessaging",
|
|
"target": [
|
|
"deb",
|
|
"tar.gz",
|
|
"appimage"
|
|
],
|
|
"extraFiles": [
|
|
{
|
|
"filter": [
|
|
"LICENSE.txt",
|
|
"NOTICE.txt"
|
|
]
|
|
},
|
|
{
|
|
"from": "resources/linux",
|
|
"filter": [
|
|
"create_desktop_file.sh",
|
|
"app_icon.png",
|
|
"README.md"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"mac": {
|
|
"category": "public.app-category.productivity",
|
|
"target": [
|
|
"zip",
|
|
"dmg"
|
|
],
|
|
"darkModeSupport": true,
|
|
"extraResources": [
|
|
{
|
|
"filter": [
|
|
"LICENSE.txt",
|
|
"NOTICE.txt"
|
|
]
|
|
}
|
|
],
|
|
"hardenedRuntime": true,
|
|
"gatekeeperAssess": true,
|
|
"entitlements": "./build/entitlements.mac.plist",
|
|
"entitlementsInherit": "./build/entitlements.mac.plist",
|
|
"extendInfo": {
|
|
"NSMicrophoneUsageDescription": "Microphone access may be used by Mattermost plugins, such as Jitsi video conferencing.",
|
|
"NSCameraUsageDescription": "Camera access may be used by Mattermost plugins, such as Jitsi video conferencing."
|
|
}
|
|
},
|
|
"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://src/assets/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}"
|
|
}
|
|
} |