homebrew-cask/Casks/lulu.rb

34 lines
972 B
Ruby

cask "lulu" do
version "2.4.1"
sha256 "fe2607d874456295154238fb387e2f038b2b9f475d440ded0e495fd90aacc934"
url "https://github.com/objective-see/LuLu/releases/download/v#{version}/LuLu_#{version}.dmg",
verified: "github.com/objective-see/LuLu/"
name "LuLu"
desc "Open-source firewall to block unknown outgoing connections"
homepage "https://objective-see.com/products/lulu.html"
livecheck do
url :url
strategy :github_latest
end
auto_updates true
depends_on macos: ">= :catalina"
app "LuLu.app"
uninstall script: {
executable: "#{appdir}/LuLu.app/Contents/Resources/LuLu Uninstaller.app/Contents/MacOS/LuLu Uninstaller",
args: ["-uninstall"],
sudo: true,
}
zap trash: [
"~/Library/Caches/com.objective-see.lulu",
"~/Library/Caches/com.objective-see.lulu.helper",
"~/Library/Preferences/com.objective-see.lulu.plist",
"~/Library/Preferences/com.objective-see.lulu.helper.plist",
]
end