26 lines
992 B
Ruby
26 lines
992 B
Ruby
cask 'pritunl' do
|
|
version '1.0.1364.29'
|
|
sha256 'becddef266b34eaf082d0824e1194e141094aa53eb6850b5e69fe5ecfd5c5e2a'
|
|
|
|
# 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: '9fdabdf6411f99bc79a9e91031d8a8863ba2287411113c327002a1508e014bb8'
|
|
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
|