24 lines
680 B
Ruby
24 lines
680 B
Ruby
cask 'ivpn' do
|
|
version '2.7.6'
|
|
sha256 '3ee7967a288e0f28b925dff40330f41b0401d9befafac8bcad1ef53ffef8ad6f'
|
|
|
|
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
|