homebrew-cask/Casks/element.rb

31 lines
870 B
Ruby

cask "element" do
version "1.9.8"
sha256 "57347910e9321417dda64d3a8631d76180dec11ab5126f77352162badfb1dd30"
url "https://packages.riot.im/desktop/install/macos/Element-#{version}-universal.dmg",
verified: "packages.riot.im/desktop/"
name "Element"
desc "Matrix collaboration client"
homepage "https://element.io/get-started"
livecheck do
url "https://github.com/vector-im/riot-desktop"
strategy :github_latest
end
auto_updates true
app "Element.app"
zap trash: [
"~/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