28 lines
929 B
Ruby
28 lines
929 B
Ruby
cask "element" do
|
|
version "1.7.15"
|
|
sha256 "28fb6d258de7911f2c023e753416785e4e7d7f10e107f0f52444cf9969cd14bc"
|
|
|
|
# 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)"
|
|
desc "Matrix collaboration client"
|
|
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
|