d2435a561c
* wip * background download * various fixes * wip * wokring autoupgrade * fix menu * fix windows * cleanup * add publishername * fix messages and titles * Test updates * Moved module and added functionality to click icon to install (instead of just download) * Add auto update setting, update on close app if downloaded * Tests, changes for security fixes, update version number * Update E2E tests * Lint fix * Update to latest electron-updater * Revert to stable electron-builder (only needed to update electron-updater) * Fix package-lock * skip flaky test * Update package * Fix E2E test * Fixes for enabling/disabled autoupdater * Fixed GPO definitions * [MM-38300] Set localhost as the test server * blank * Switch to s3 bucket for testing * Update icons to match spec * Add menu items for download/update actions * Type and test fixes * Fix notification circle * Fix macOS app not restarting on Restart/Update * Update dialog box titles * Turn off file system check for Linux * Changes to support deployments * Testing autoupdater deployments to s3 * disable tests for now * asfrehwf * fine no windows WHATEVER * remove windows again * Try universal all in one * pffftttngggguhhhh * make sure it's working * Missed artifacts script * Modify destination as well * one more time! * Update yml files * Oops * add yq manually * oof * Fix the script to work properly * Fix release script * Fix script again so it runs in time * Build version 2 * Revert build specific changes * Lint override * Fix build apps for PR builds * One more change * Add file generation for .deb repo * Deb repo test * skip tests for now * Fix artifact push * Persist after repo creation * Put tests back * Fix unit tests * Enable mac generated builds temp * Temporarily disable tests * Fix issue where notification doesn't pop dialog box * Try version 2 again * Put the version back * Attempting to debug mac app path issue * Fix issue where Mac app will quarantine itself after first update * Lock versions of yq * Fix yq for mac * As usual, Mac is difficult :P * Add quotes to anti-quarantine command * Change to spawn to avoid command injection * Oops * Nightly deployment changes (#2005) * Test nightly deploy * I fixed a some things * aaaaaaaaa * Restore old bucket * Added progress indicator via tooltip * Ship nightly builds to main S3 bucket * PR feedback * Fix a couple security exploits * Fix opacity on light mode button * Use large app icon * Resize icon for Windows * Resize icon for Mac * Update to electron-updater final * Remove Mac support and deb repo * Typo * Remove deb script * Remove checksum function * Removed autoUpdateSettingsPath * Update URL Co-authored-by: = <=> Co-authored-by: Devin Binnie <devin.binnie@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
139 lines
3 KiB
JSON
139 lines
3 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
|
|
}
|
|
},
|
|
"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}"
|
|
}
|
|
}
|