homebrew-cask/Casks/element.rb

27 lines
891 B
Ruby

cask "element" do
version "1.7.4"
sha256 "792bc83035d1c72b786e588476168f5f0a2db555d9dea603a4da0efe9c918259"
# packages.riot.im/desktop was verified as official when first introduced to the cask
url "https://packages.riot.im/desktop/install/macos/Element-#{version}.dmg"
appcast "https://github.com/vector-im/riot-desktop/releases.atom"
name "Element (Riot)"
homepage "https://element.io/get-started"
auto_updates true
app "Element.app"
zap trash: [
"~/Library/Application Support/Element (Riot)",
"~/Library/Application Support/Element",
"~/Library/Application Support/Riot",
"~/Library/Caches/im.riot.app",
"~/Library/Caches/im.riot.app.ShipIt",
"~/Library/Logs/Riot",
"~/Library/Preferences/im.riot.app.helper.plist",
"~/Library/Preferences/im.riot.app.plist",
"~/Library/Saved Application State/im.riot.app.savedState",
]
end