26 lines
992 B
Ruby
26 lines
992 B
Ruby
cask 'pritunl' do
|
|
version '1.0.1265.14'
|
|
sha256 '6efd1197f66f80ed0e878f7f65d081abd382858a8cc0864e7e4f6e49f052529c'
|
|
|
|
# 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: 'e1f18a4845fb6262526623baf0e921d96ae1d682dd80e589478c9015bded90ac'
|
|
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
|