cask "rocket-chat" do version "4.1.2" sha256 "4f47a2c60c910b0ec1740f75d365363a42b366462044aada5f1bf70f29194d9a" 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", "~/Library/Caches/chat.rocket.electron.helper", "~/Library/Caches/chat.rocket.ShipIt", "~/Library/Preferences/chat.rocket.electron.helper.plist", "~/Library/Preferences/chat.rocket.plist", "~/Library/Saved Application State/chat.rocket.savedState", ] end