homebrew-cask/Casks/torguard.rb

22 lines
820 B
Ruby

cask 'torguard' do
version '0.3.76'
sha256 'a325b020d5c0bfb29d2a7a6e20cad237f935c8d64720e06fe0e7bec8b6b784cd'
# 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',
checkpoint: '660400e2cfb8a0d176de9e084b33898144ed764fb9596346e5bfd4ac31b6a7e3'
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