28 lines
672 B
Ruby
28 lines
672 B
Ruby
cask "beeper" do
|
|
arch arm: "arm64", intel: "x64"
|
|
|
|
version "3.46.14"
|
|
sha256 :no_check
|
|
|
|
url "https://download.beeper.com/mac/dmg/#{arch}"
|
|
name "Beeper"
|
|
desc "Universal chat app powered by Matrix"
|
|
homepage "https://www.beeper.com/"
|
|
|
|
livecheck do
|
|
url :url
|
|
regex(/Beeper(?:%20|[ ._-])?(\d+(?:\.\d+)+)(?: - Build ([\dA-z]+))?(?:[._-]#{arch})?\.dmg/i)
|
|
strategy :header_match
|
|
end
|
|
|
|
app "Beeper.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/Beeper",
|
|
"~/Library/Caches/im.beeper",
|
|
"~/Library/Caches/im.beeper.ShipIt",
|
|
"~/Library/Preferences/im.beeper.plist",
|
|
"~/Library/Saved Application State/im.beeper.savedState",
|
|
]
|
|
end
|