homebrew-cask/Casks/pritunl.rb

23 lines
854 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'pritunl' do
2016-03-25 06:01:10 +08:00
version '0.10.18'
sha256 'c74d3433a979035f183634991e5aef5ac6459b6fc954cc5f08b6282d18944815'
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-03-25 06:01:10 +08:00
checkpoint: '9887a9f0fcb6f84773e276308f2414c5af07c89a549d0d7eaf59279b964c1601'
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
license :gpl
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