2017-08-01 19:15:59 +08:00
|
|
|
cask 'ivpn' do
|
2018-06-19 01:16:17 +08:00
|
|
|
version '2.7.9'
|
|
|
|
sha256 '851699211cbd7b76f9b6be61e0482f7b440b757fe61b8792a35b2bb8937c21ab'
|
2017-08-01 19:15:59 +08:00
|
|
|
|
|
|
|
url "https://www.ivpn.net/releases/osx/IVPN-#{version}.dmg"
|
|
|
|
name 'IVPN'
|
|
|
|
homepage 'https://www.ivpn.net/apps-macos'
|
|
|
|
|
|
|
|
app 'IVPN.app'
|
|
|
|
|
|
|
|
uninstall_preflight do
|
|
|
|
set_ownership "#{appdir}/IVPN.app"
|
|
|
|
end
|
|
|
|
|
|
|
|
uninstall delete: [
|
|
|
|
'/Library/Application Support/IVPN',
|
|
|
|
'/Library/PrivilegedHelperTools/net.ivpn.client.Helper',
|
|
|
|
],
|
|
|
|
launchctl: 'net.ivpn.client.Helper',
|
|
|
|
quit: 'net.ivpn.client.IVPN'
|
|
|
|
|
|
|
|
zap trash: '~/Library/Preferences/net.ivpn.client.IVPN.plist'
|
|
|
|
end
|