homebrew-cask/Casks/pritunl.rb

26 lines
991 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'pritunl' do
2017-04-16 05:34:27 +08:00
version '1.0.1311.6'
sha256 '869e430730bb883b62813a646045b67b6c6a76a15c56fb0d2ccc1a188c290f42'
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',
2017-04-16 05:34:27 +08:00
checkpoint: 'd8cba37545c72767f9be9ed7a0d4636ac8c9466abc17aeb770e8641bd0c1e4e6'
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',
launchctl: [
'com.pritunl.client',
'com.pritunl.service',
]
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