Casks/d/dialpad.rb
cask "dialpad" do
arch arm: "arm64", intel: "x64"
version "2408.2.4"
sha256 arm: "13a156fd7e64d19f25a719e9966c00800fdeaa4fdc23429f5e7f7217478de97b",
intel: "f3e34e3e3bc3018a3ae03e3e4298bf138c795766487f3917be23b2f44417a9de"
url "https://storage.googleapis.com/dialpad_native/osx/#{arch}/Dialpad.#{version}.zip",
verified: "storage.googleapis.com/dialpad_native/osx/#{arch}"
name "Dialpad"
desc "Cloud communication platform"
homepage "https://dialpad.com/download"
livecheck do
url "https://dialpad.com/native/checkversion/darwin/#{arch}"
strategy :json do |json|
json["version"]
end
end
depends_on macos: ">= :high_sierra"
app "Dialpad.app"
zap trash: [
"~/Library/Application Support/Dialpad",
"~/Library/Caches/com.electron.dialpad*",
"~/Library/HTTPStorages/com.electron.dialpad",
"~/Library/Preferences/com.electron.dialpad.plist",
"~/Library/Saved Application State/com.electron.dialpad.savedState",
]
end