homebrew-cask/Casks/torguard.rb

21 lines
730 B
Ruby

cask 'torguard' do
version '3.90.0'
sha256 'cb6ec61496ec1d9ac4009504a0f6a606f7f1be929c53e8423e6b6b2385a8747f'
# 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