homebrew-cask/Casks/rocket-chat.rb

25 lines
984 B
Ruby

cask 'rocket-chat' do
version '2.17.11'
sha256 '13d7ac944ea2e411ecbd473f9a34d2cfa8e80dd52d115ac2a14b9c55e8fe3afd'
# 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'
name 'Rocket.Chat'
homepage 'https://rocket.chat/'
auto_updates true
app 'Rocket.Chat.app'
zap trash: [
'~/Library/Application Support/Rocket.Chat',
'~/Library/Caches/chat.rocket',
'~/Library/Caches/chat.rocket.ShipIt',
'~/Library/Caches/chat.rocket.electron.helper',
'~/Library/Preferences/chat.rocket.plist',
'~/Library/Preferences/chat.rocket.electron.helper.plist',
'~/Library/Saved Application State/chat.rocket.savedState',
]
end