phinze/homebrew-cask

View on GitHub
Casks/u/unite-phone.rb

Summary

Maintainability
A
0 mins
Test Coverage
cask "unite-phone" do
  version "2024.9.0"
  sha256 "a74099cc1868c9d6d3dd37ca0d5c680c0928615155ce74494aed62921baaec05"

  url "https://update.unitephone.nl/download/unite_phone-#{version}-universal.dmg",
      user_agent: :fake
  name "Unite Phone"
  desc "Video and voice calling application"
  homepage "https://unitephone.nl/"

  livecheck do
    url "https://unitephone.nl/unitephone-app/macos"
    regex(/unite_phone[._-]v?(\d+(?:\.\d+)*)[._-]universal\.dmg/i)
    strategy :header_match
  end

  app "Unite Phone.app"

  zap trash: [
    "/Library/Logs/DiagnosticReports/Unite Phone Helper*",
    "~/Library/Application Support/Unite Phone",
  ]
end