homebrew-cask/Casks/pritunl.rb

26 lines
992 B
Ruby

cask 'pritunl' do
version '1.0.1380.37'
sha256 'd0c38088036293cfb1556e74e2a787cad017aaa3f12ec7017f23dc213d917f96'
# 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: '3bfaa622bd031f96d50d817a9076ed11152dbbffb129b0c0a4eddd0238c73c9b'
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