cask "launchbar" do version "6.24" sha256 "8f71c28e8ac9d9d283ad7cda1f2f3d89a8b0b12a386b97277b197eb283886d1c" 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