26 lines
991 B
Ruby
26 lines
991 B
Ruby
cask 'pritunl' do
|
|
version '1.0.1311.6'
|
|
sha256 '869e430730bb883b62813a646045b67b6c6a76a15c56fb0d2ccc1a188c290f42'
|
|
|
|
# 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: 'd8cba37545c72767f9be9ed7a0d4636ac8c9466abc17aeb770e8641bd0c1e4e6'
|
|
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
|