homebrew-cask/Casks/p/pcoipclient.rb

34 lines
1.1 KiB
Ruby

cask "pcoipclient" do
version "24.03.4"
sha256 "dc83c059cd8b81c50e60bb444d9febcca3ac4570e2870403ef17bc3f362f4ec6"
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