26 lines
992 B
Ruby
26 lines
992 B
Ruby
cask 'pritunl' do
|
|
version '1.0.1223.17'
|
|
sha256 'df3673fb3d066c1a7a18433c4cc3df101d893c384e91567fa51545bfa3475129'
|
|
|
|
# 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: '46ef0627af08fb0d065a5addd0129ef1f615e8a8c2b56ab9618c4877a0cc5a64'
|
|
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
|