homebrew-cask/Casks/torguard.rb

21 lines
697 B
Ruby

cask "torguard" do
version "4.0.1"
sha256 "64d2edb4435806968464c489402757378b3930c141da0db50f748ed38b9ab9ab"
# torguard.biz/ was verified as official when first introduced to the cask
url "https://updates.torguard.biz/Software/MacOSX/TorGuard-v#{version}.dmg"
appcast "https://updates.torguard.biz/Software/MacOSX/checksums.sha256"
name "TorGuard"
homepage "https://torguard.net/"
pkg "Install TorGuard.pkg"
uninstall pkgutil: "net.torguard.TorGuardDesktopQt",
delete: "/Applications/TorGuard.app"
zap trash: [
"~/Library/Preferences/net.torguard.TorGuard*.plist",
"~/Library/Saved Application State/net.torguard.TorGuardDesktopQt.savedState",
]
end