cask "launchbar" do version "6.21.1" sha256 "c26f19d35794d2b95864667623c7765fc09ce0d70fe691d72d038f6d90d932aa" url "https://www.obdev.at/downloads/launchbar/LaunchBar-#{version}.dmg" name "LaunchBar" desc "Productivity tool" homepage "https://www.obdev.at/products/launchbar/index.html" livecheck do url "https://www.obdev.at/products/launchbar/download.html" regex(%r{href=.*?/LaunchBar-(\d+(?:\.\d+)+)\.dmg}i) end auto_updates true depends_on macos: ">= :monterey" app "LaunchBar.app" zap trash: [ "~/Library/Application Support/LaunchBar", "~/Library/Caches/at.obdev.LaunchBar", "~/Library/Preferences/at.obdev.LaunchBar.plist", "~/Library/Saved Application State/at.obdev.LaunchBar.savedState", ] end