homebrew-cask/Casks/little-snitch.rb

39 lines
1.9 KiB
Ruby

cask 'little-snitch' do
version '3.7.2'
sha256 '88200d52bb6f907a902feb3eb10491181485fd914371d80627694683d9762ed3'
url "https://www.obdev.at/downloads/littlesnitch/LittleSnitch-#{version}.dmg"
appcast 'https://www.obdev.at/products/littlesnitch/releasenotes.html',
checkpoint: '0d64973fcd2156b81e55c3ac5e292ce3711ba16a34b43226006e4d11ba208641'
name 'Little Snitch'
homepage 'https://www.obdev.at/products/littlesnitch/index.html'
installer manual: 'Little Snitch Installer.app'
zap delete: [
'/Library/Application Support/Objective Development/Little Snitch',
'~/Library/Application Support/Little Snitch',
'~/Library/Caches/at.obdev.LittleSnitchAgent',
'~/Library/Caches/at.obdev.LittleSnitchConfiguration',
'~/Library/Caches/at.obdev.LittleSnitchSoftwareUpdate',
'~/Library/Caches/com.apple.helpd/Generated/at.obdev.LittleSnitchConfiguration.help',
'~/Library/Caches/com.apple.helpd/SDMHelpData/Other/English/HelpSDMIndexFile/at.obdev.LittleSnitchConfiguration.help',
'~/Library/Logs/Little Snitch Agent.log',
'~/Library/Logs/Little Snitch Installer.log',
'~/Library/Logs/Little Snitch Network Monitor.log',
'~/Library/Preferences/at.obdev.LittleSnitchAgent.plist',
'~/Library/Preferences/at.obdev.LittleSnitchConfiguration.plist',
'~/Library/Preferences/at.obdev.LittleSnitchInstaller.plist',
'~/Library/Preferences/at.obdev.LittleSnitchNetworkMonitor.plist',
'~/Library/Preferences/at.obdev.LittleSnitchSoftwareUpdate.plist',
'~/Library/Saved Application State/at.obdev.LittleSnitchInstaller.savedState',
],
rmdir: [
'/Library/Application Support/Objective Development',
]
caveats do
reboot
end
end