homebrew-cask/Casks/a/aircall.rb

29 lines
698 B
Ruby

cask "aircall" do
version "3.1.14"
sha256 "027b8fce011bf728bdbdf6b510b99472e3ea4042720d1fb774e3ff6a5da2db22"
url "https://download-electron.aircall.io/Aircall-#{version}.dmg"
name "Aircall"
desc "Cloud-based call center and phone system software"
homepage "https://aircall.io/"
livecheck do
url "https://aircall.io/api/app-infos/"
strategy :json do |json|
json["name"]
end
end
auto_updates true
depends_on macos: ">= :sierra"
app "Aircall.app"
zap trash: [
"~/Library/Application Support/Aircall",
"~/Library/Caches/io.aircall.phone",
"~/Library/Caches/io.aircall.phone.ShipIt",
"~/Library/Preferences/io.aircall.phone.plist",
]
end