30 lines
889 B
Ruby
30 lines
889 B
Ruby
cask "rocket-chat" do
|
|
version "3.9.6"
|
|
sha256 "edffa9b6d54a5cb7d6742f0d9b0acc59c3c6c26254c705ee939c2b51830e298c"
|
|
|
|
url "https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/#{version}/rocketchat-#{version}-mac.dmg",
|
|
verified: "github.com/RocketChat/Rocket.Chat.Electron/"
|
|
name "Rocket.Chat"
|
|
desc "Official desktop client for Rocket.Chat"
|
|
homepage "https://rocket.chat/"
|
|
|
|
livecheck do
|
|
url :url
|
|
strategy :github_latest
|
|
end
|
|
|
|
auto_updates true
|
|
|
|
app "Rocket.Chat.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/Rocket.Chat",
|
|
"~/Library/Caches/chat.rocket.electron.helper",
|
|
"~/Library/Caches/chat.rocket.ShipIt",
|
|
"~/Library/Caches/chat.rocket",
|
|
"~/Library/Preferences/chat.rocket.electron.helper.plist",
|
|
"~/Library/Preferences/chat.rocket.plist",
|
|
"~/Library/Saved Application State/chat.rocket.savedState",
|
|
]
|
|
end
|