homebrew-cask/Casks/rocket-chat.rb

22 lines
916 B
Ruby

cask 'rocket-chat' do
version '2.4.0'
sha256 '63eb6abc3346d09f9f61fe610e725d331e37026778af88ea9296de7f6f746020'
# 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: 'd95c87bf4ca24c7017520bcaca4ae10958335af867afe1365fd586390ea9b78d'
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