2ed96e9969
* Remove expliced category from deb The expliced category value for deb is not correct. The linux section has a correct category value and deb is part of its target. So the category from linux should be applied if there is no expliced one in the deb section. Issue: mattermost/desktop#2874 * Linux README: clarify where to find directory Change the example directory to the path, where it is at a deb installation. Add a hint that a reader in a local README already found the correct directory. Issue: mattermost/desktop#2874
171 lines
4.1 KiB
JSON
171 lines
4.1 KiB
JSON
{
|
|
"publish": [
|
|
{
|
|
"provider": "generic",
|
|
"url": "https://releases.mattermost.com/desktop"
|
|
}
|
|
],
|
|
"appId": "Mattermost.Desktop",
|
|
"artifactName": "${version}/${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}/**",
|
|
"!**/node_modules/macos-notification-state/bin/**/*",
|
|
"!**/node_modules/macos-notification-state/build/**/*",
|
|
"!**/node_modules/windows-focus-assist/bin/**/*",
|
|
"!**/node_modules/windows-focus-assist/build/**/*",
|
|
"node_modules/macos-notification-state/build/**/*.node",
|
|
"node_modules/windows-focus-assist/build/Release/**/*.node",
|
|
{
|
|
"from": "dist",
|
|
"to": ".",
|
|
"filter": "**/*"
|
|
}
|
|
],
|
|
"protocols": [
|
|
{
|
|
"name": "Mattermost",
|
|
"schemes": [
|
|
"mattermost"
|
|
]
|
|
}
|
|
],
|
|
"afterPack": "scripts/afterpack.js",
|
|
"afterSign": "scripts/notarize.js",
|
|
"afterAllArtifactBuild": "scripts/afterbuild.js",
|
|
"deb": {
|
|
"artifactName": "${version}/${name}_${version}-1_${arch}.${ext}",
|
|
"synopsis": "Mattermost Desktop App",
|
|
"depends": [
|
|
"libnotify4",
|
|
"libxtst6",
|
|
"libnss3"
|
|
],
|
|
"priority": "optional"
|
|
},
|
|
"asarUnpack": [
|
|
"./node_modules/macos-notification-state/build/Release/**/*.node",
|
|
"./node_modules/windows-focus-assist/build/Release/**/*.node"
|
|
],
|
|
"linux": {
|
|
"category": "Network;InstantMessaging",
|
|
"target": [
|
|
"deb",
|
|
"tar.gz",
|
|
"appimage",
|
|
"rpm"
|
|
],
|
|
"extraFiles": [
|
|
{
|
|
"filter": [
|
|
"LICENSE.txt",
|
|
"NOTICE.txt"
|
|
]
|
|
},
|
|
{
|
|
"from": "src/assets/linux",
|
|
"filter": [
|
|
"create_desktop_file.sh",
|
|
"app_icon.png",
|
|
"README.md"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"appImage": {
|
|
"executableArgs": [" "]
|
|
},
|
|
"mac": {
|
|
"category": "public.app-category.productivity",
|
|
"target": [
|
|
"zip",
|
|
"dmg"
|
|
],
|
|
"darkModeSupport": true,
|
|
"extraResources": [
|
|
{
|
|
"filter": [
|
|
"LICENSE.txt",
|
|
"NOTICE.txt"
|
|
]
|
|
}
|
|
],
|
|
"hardenedRuntime": true,
|
|
"gatekeeperAssess": true,
|
|
"entitlements": "./entitlements.mac.plist",
|
|
"entitlementsInherit": "./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.",
|
|
"LSFileQuarantineEnabled": true
|
|
}
|
|
},
|
|
"mas": {
|
|
"hardenedRuntime": false,
|
|
"entitlements": "./entitlements.mas.plist",
|
|
"entitlementsInherit": "./entitlements.mas.inherit.plist",
|
|
"entitlementsLoginHelper": "./entitlements.mas.inherit.plist",
|
|
"provisioningProfile": "./mas.provisionprofile",
|
|
"extendInfo": {
|
|
"ITSAppUsesNonExemptEncryption": false
|
|
},
|
|
"singleArchFiles": "*"
|
|
},
|
|
"masDev": {
|
|
"provisioningProfile": "./mas-dev.provisionprofile"
|
|
},
|
|
"dmg": {
|
|
"background": "src/assets/osx/DMG_BG.png",
|
|
"contents": [
|
|
{
|
|
"x": 135,
|
|
"y": 165
|
|
},
|
|
{
|
|
"x": 407,
|
|
"y": 165,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
}
|
|
],
|
|
"iconSize": 120,
|
|
"iconTextSize": 14,
|
|
"window": {
|
|
"height": 380
|
|
}
|
|
},
|
|
"squirrelWindows": {
|
|
"iconUrl": "file://src/assets/icon.ico",
|
|
"artifactName": "${version}/${name}-setup-${version}-${arch}.${ext}"
|
|
},
|
|
"win": {
|
|
"target": [
|
|
"nsis",
|
|
"zip"
|
|
],
|
|
"extraFiles": [
|
|
{
|
|
"filter": [
|
|
"LICENSE.txt",
|
|
"NOTICE.txt"
|
|
]
|
|
}
|
|
],
|
|
"publisherName": "CN=\"Mattermost, Inc.\", O=\"Mattermost, Inc.\", L=Palo Alto, S=California, C=US"
|
|
},
|
|
"nsis": {
|
|
"artifactName": "${version}/${name}-setup-${version}-win.${ext}",
|
|
"packElevateHelper": false
|
|
},
|
|
"rpm": {
|
|
"fpm": ["--rpm-rpmbuild-define", "_build_id_links none"]
|
|
}
|
|
}
|