homebrew-cask/Casks/rocket-chat.rb

22 lines
916 B
Ruby

cask 'rocket-chat' do
version '2.9.0'
sha256 '2a1091e27bc0032feb1497f69a801cab7c906ea2b83219b981dcefc616d5a227'
# github.com/RocketChat/Rocket.Chat.Electron was verified as official when first introduced to the cask
url "https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/#{version}/rocketchat-#{version}.dmg"
appcast 'https://github.com/RocketChat/Rocket.Chat.Electron/releases.atom',
checkpoint: '552a543e93b85edb6731c400984c0d64cfcf9f54c0ed414efb46be16ca9720c8'
name 'Rocket.Chat'
homepage 'https://rocket.chat/'
app 'Rocket.Chat+.app'
zap delete: [
'~/Library/Application Support/Rocket.Chat+',
'~/Library/Caches/Rocket.Chat+',
'~/Library/Caches/chat.rocket',
'~/Library/Preferences/chat.rocket.plist',
'~/Library/Saved Application State/chat.rocket.savedState',
]
end