homebrew-cask/Casks/p/pcoipclient.rb

34 lines
1.1 KiB
Ruby

cask "pcoipclient" do
version "24.03.2"
sha256 "03abd7a30a4dc5d7d95c4b3fbc5ba8b1841844ba1cc63900c0be6939465f50ec"
url "https://dl.teradici.com/DeAdBCiUYInHcSTy/pcoip-client/raw/names/pcoip-client-dmg/versions/#{version}/pcoip-client_#{version}.dmg"
name "Teradici PCoIP Software Client for macOS"
desc "Client for VM agents and remote workstation cards"
homepage "https://docs.teradici.com/find/product/software-and-mobile-clients/"
livecheck do
url "https://dl.teradici.com/DeAdBCiUYInHcSTy/pcoip-client/raw/names/pcoip-client-dmg/versions/latest/pcoip-client_latest.dmg"
strategy :header_match
end
depends_on macos: ">= :monterey"
app "PCoIPClient.app"
uninstall quit: [
"com.teradici.swiftclient",
"com.teradici.usb-mediator",
]
zap trash: [
"~/Library/Preferences/com.teradici.PCoIP Client Connection Info.plist",
"~/Library/Preferences/com.teradici.swiftclient.plist",
"~/Library/Preferences/com.teradici.Teradici PCoIP Client.plist",
]
caveats do
license "https://docs.teradici.com/reference/eula/teradici-end-user-license-agreement"
end
end