24 lines
680 B
Ruby
24 lines
680 B
Ruby
cask 'ivpn' do
|
|
version '2.6.8'
|
|
sha256 '203ea90e5f9c0b4a538b2106dc1be43da8477d4720913cd2989a127ceff2cefe'
|
|
|
|
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
|