cask "blockblock" do version "2.2.5" sha256 "836d8c4ccf4bc33be46f019f1f0fcb2ec61e84afa84dbb55098bb0ed7350fc89" url "https://github.com/objective-see/BlockBlock/releases/download/v#{version}/BlockBlock_#{version}.zip", verified: "github.com/objective-see/BlockBlock/" name "BlockBlock" desc "Monitors common persistence locations" homepage "https://objective-see.org/products/blockblock.html" no_autobump! because: :requires_manual_review depends_on macos: ">= :catalina" installer script: { executable: "#{staged_path}/BlockBlock Installer.app/Contents/MacOS/BlockBlock Installer", args: ["-install"], sudo: true, } uninstall script: { executable: "#{staged_path}/BlockBlock Installer.app/Contents/MacOS/BlockBlock Installer", args: ["-uninstall"], sudo: true, } zap trash: [ "~/Library/Caches/com.objective-see.blockblock.helper", "~/Library/HTTPStorages/com.objective-see.blockblock.helper", "~/Library/Preferences/com.objective-see.blockblock.helper.plist", "~/Library/Preferences/com.objectiveSee.BlockBlock.plist", ] end