Files
mattermostest/electron-builder.json
Devin Binnie 0a7be91576 [MM-42538] Submit nightly builds to TestFlight for macOS (#2023)
* Initial MAS build, working on TestFlight

* Migration of old configs to MAS

* Ignore fastlane files

* Add mac app store build to nightly build

* Revert Me - For testing in PR

* Don't need to install fastlane

* BIG D

* Fix patch updater script to allow for no yml

* Nevermind, do this instead

* Update xcode

* Let's try a fake version that works

* Revert version and rename for test flight

* Use Xcode 13.0.0

* Use CircleCI build number when available

* Revert testing changes

* Remove notarize for MAS

* Change vars to MACOS instead of IOS

* Revert electron-builder to v22

* Revert package-lock.json

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-03-28 11:06:00 -04:00

160 lines
3.5 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}/**",
{
"from": "dist",
"to": ".",
"filter": "**/*"
}
],
"protocols": [
{
"name": "Mattermost",
"schemes": [
"mattermost",
"http",
"https",
"ftp",
"mailto",
"tel"
]
}
],
"afterPack": "scripts/afterpack.js",
"afterSign": "scripts/notarize.js",
"deb": {
"artifactName": "${version}/${name}_${version}-1_${arch}.${ext}",
"synopsis": "Mattermost Desktop App",
"depends": [
"gconf2",
"gconf-service",
"libnotify4",
"libxtst6",
"libnss3"
],
"category": "contrib/net",
"priority": "optional"
},
"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"
]
}
]
},
"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
}
},
"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}"
}
}