homebrew-cask/Casks/lulu.rb

38 lines
1.3 KiB
Ruby

cask 'lulu' do
version '1.2.0'
sha256 '8afe6d73e910f34f4817223bdf6aa466e9189e08bf0f50f34e18e6b3b4823224'
# bitbucket.org/objective-see was verified as official when first introduced to the cask
url "https://bitbucket.org/objective-see/deploy/downloads/LuLu_#{version}.zip"
appcast 'https://objective-see.com/products/changelogs/LuLu.txt'
name 'LuLu'
homepage 'https://objective-see.com/products/lulu.html'
depends_on macos: '>= :sierra'
installer script: {
executable: "#{staged_path}/Lulu Installer.app/Contents/MacOS/LuLu Installer",
args: ['-install'],
sudo: true,
}
uninstall script: {
executable: "#{staged_path}/Lulu Installer.app/Contents/MacOS/LuLu Installer",
args: ['-uninstall'],
sudo: true,
}
zap trash: [
'~/Library/Caches/com.objective-see.lulu',
'~/Library/Caches/com.objective-see.luluHelper',
'~/Library/Preferences/com.objective-see.lulu.plist',
'~/Library/Preferences/com.objective-see.luluHelper.plist',
'/Library/LaunchDaemons/com.objective-see.lulu.plist',
'/Library/Logs/LuLu.log',
]
caveats do
kext
end
end