Browse Source

Update tunnelblick-beta - uninstall / zap (#4227)

master
commitay 8 years ago
committed by Miccal Matthews
parent
commit
88ba863d57
  1. 21
      Casks/tunnelblick-beta.rb

21
Casks/tunnelblick-beta.rb

@ -8,13 +8,28 @@ cask 'tunnelblick-beta' do
name 'Tunnelblick'
homepage 'https://tunnelblick.net/'
depends_on macos: '>= :tiger'
app 'Tunnelblick.app'
uninstall launchctl: 'net.tunnelblick.tunnelblick.LaunchAtLogin',
uninstall_preflight do
set_ownership "#{appdir}/Tunnelblick.app"
end
uninstall launchctl: [
'net.tunnelblick.tunnelblick.LaunchAtLogin',
'net.tunnelblick.tunnelblick.tunnelblickd',
],
quit: 'net.tunnelblick.tunnelblick'
zap delete: [
'~/Library/Caches/com.apple.helpd/SDMHelpData/Other/English/HelpSDMIndexFile/net.tunnelblick.tunnelblick.help',
'~/Library/Caches/net.tunnelblick.tunnelblick',
],
trash: [
'/Library/Application Support/Tunnelblick',
'~/Library/Application Support/Tunnelblick',
'~/Library/Preferences/net.tunnelblick.tunnelblick.plist',
]
caveats <<-EOS.undent
For security reasons, #{token} must be installed to /Applications,
and will request to be moved at launch.

Loading…
Cancel
Save