homebrew-cask/Casks/pritunl.rb

26 lines
992 B
Ruby

cask 'pritunl' do
version '1.0.1294.83'
sha256 '9d3b8fa6d7a6eeb7a052e0fc673fa590595a9e4cd44a39e42ae95fb5f01a7a39'
# github.com/pritunl/pritunl-client-electron was verified as official when first introduced to the cask
url "https://github.com/pritunl/pritunl-client-electron/releases/download/#{version}/Pritunl.pkg.zip"
appcast 'https://github.com/pritunl/pritunl-client-electron/releases.atom',
checkpoint: 'aa68002ff055a59b277b27d459a64891a0d8f59069f445185cdc804b82c2200a'
name 'Pritunl OpenVPN Client'
homepage 'https://client.pritunl.com/'
pkg 'Pritunl.pkg'
uninstall pkgutil: 'com.pritunl.pkg.Pritunl',
launchctl: [
'com.pritunl.client',
'com.pritunl.service',
]
zap delete: [
'~/Library/Application Support/pritunl',
'~/Library/Caches/pritunl',
'~/Library/Preferences/com.electron.pritunl.plist',
]
end