2021-05-20 07:36:44 +08:00
|
|
|
cask "beeper" do
|
2021-10-14 12:22:49 +08:00
|
|
|
arch = Hardware::CPU.intel? ? "x64" : "arm64"
|
2021-05-20 07:36:44 +08:00
|
|
|
|
2021-12-07 14:22:53 +08:00
|
|
|
version "2.12.9"
|
2021-10-14 12:22:49 +08:00
|
|
|
sha256 :no_check
|
2021-05-20 07:36:44 +08:00
|
|
|
|
2021-10-14 12:22:49 +08:00
|
|
|
url "https://download.beeper.com/mac/dmg/#{arch}"
|
2021-05-20 07:36:44 +08:00
|
|
|
name "Beeper"
|
|
|
|
desc "Universal chat app powered by Matrix, unifying 15 different chat networks"
|
|
|
|
homepage "https://www.beeper.com/"
|
|
|
|
|
|
|
|
livecheck do
|
|
|
|
url :url
|
|
|
|
strategy :header_match
|
2021-10-30 17:22:08 +08:00
|
|
|
regex(/Beeper(?:%20|[ ._-])?(\d+(?:\.\d+)+)(?:[._-]#{arch})?\.dmg/i)
|
2021-05-20 07:36:44 +08:00
|
|
|
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
|