homebrew-cask/Casks/privatevpn.rb

27 lines
672 B
Ruby

cask "privatevpn" do
version "3.2.1,126"
sha256 :no_check
url "https://privatevpn.com/client/PrivateVPN.dmg"
name "PrivateVPN"
homepage "https://privatevpn.com/"
livecheck do
url "https://xu515.pvdatanet.com/v3/mac/appcast.xml"
strategy :sparkle
end
depends_on macos: ">= :el_capitan"
app "PrivateVPN.app"
zap trash: [
"/Library/LaunchDaemons/com.privat.vpn.helper.plist",
"/Library/PrivilegedHelperTools/com.privat.vpn.helper",
"~/Library/Application Support/com.privat.vpn",
"~/Library/Caches/com.privat.vpn",
"~/Library/Cookies/com.privat.vpn.binarycookie",
"~/Library/Preferences/com.privat.vpn.plist",
]
end