homebrew-cask/Casks/little-snitch.rb

39 lines
1.9 KiB
Ruby

cask 'little-snitch' do
version '3.7.1'
sha256 'e6332ee70385f459d9803b0a582d5344bb9dab28bcd56e247ae69866cc321802'
url "https://www.obdev.at/downloads/littlesnitch/LittleSnitch-#{version}.dmg"
appcast 'https://www.obdev.at/products/littlesnitch/releasenotes.html',
checkpoint: '1f2ffae32b8f4cab5618c32d1f4d29f6b48554890398dce0467957d3c288936f'
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