homebrew-cask/Casks/pritunl.rb

22 lines
843 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'pritunl' do
2016-12-13 07:43:48 +08:00
version '1.0.1187.7'
sha256 'c954e10d48d15bc308d8e4a523a3fe4d597e944fdcd4c88fe3c3ddd0c4fb4255'
2015-11-26 08:25:18 +08:00
2016-06-19 06:11:43 +08:00
# github.com/pritunl/pritunl-client-electron was verified as official when first introduced to the cask
2015-11-26 08:25:18 +08:00
url "https://github.com/pritunl/pritunl-client-electron/releases/download/#{version}/Pritunl.pkg.zip"
2015-12-26 04:57:40 +08:00
appcast 'https://github.com/pritunl/pritunl-client-electron/releases.atom',
2016-12-13 07:43:48 +08:00
checkpoint: '9881fb6bf246fa62f1c63c387682af226c2fcea4f348b04f02b0714dd83b311a'
2015-11-26 08:25:18 +08:00
name 'Pritunl OpenVPN Client'
homepage 'https://client.pritunl.com/'
2015-11-26 08:25:18 +08:00
pkg 'Pritunl.pkg'
uninstall pkgutil: 'com.pritunl.pkg.Pritunl'
2015-11-26 08:25:18 +08:00
zap delete: [
'~/Library/Application Support/pritunl',
'~/Library/Caches/pritunl',
'~/Library/Preferences/com.electron.pritunl.plist',
]
2015-11-26 08:25:18 +08:00
end