mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
With #144493 (updated and enabled by #144502) the `auto_updates` toggle was introduced to the Mattermost Cask, however, Mattermost does not offer automatic updates for the desktop application for macOS for the stand-alone app bundle per their official documentation ( https://docs.mattermost.com/collaborate/install-desktop-app.html ).
30 lines
914 B
Ruby
30 lines
914 B
Ruby
cask "mattermost" do
|
|
arch arm: "m1", intel: "x64"
|
|
|
|
version "5.5.1"
|
|
sha256 arm: "a48597e69448a80e9a42f10657bf2529bdec894c17d7f05fb397c3f687df04b9",
|
|
intel: "6747b91d4f0f953f8d4a24363daea0f70f2fcf32162ac139a40d424010d144e1"
|
|
|
|
url "https://releases.mattermost.com/desktop/#{version}/mattermost-desktop-#{version}-mac-#{arch}.zip"
|
|
name "Mattermost"
|
|
desc "Open-source, self-hosted Slack-alternative"
|
|
homepage "https://mattermost.com/"
|
|
|
|
# Upstream publishes file links in the description of GitHub releases.
|
|
livecheck do
|
|
url "https://github.com/mattermost/desktop"
|
|
strategy :github_latest
|
|
end
|
|
|
|
depends_on macos: ">= :catalina"
|
|
|
|
app "Mattermost.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/Mattermost",
|
|
"~/Library/Logs/Mattermost",
|
|
"~/Library/Preferences/Mattermost.Desktop.plist",
|
|
"~/Library/Saved Application State/Mattermost.Desktop.savedState",
|
|
]
|
|
end
|