cask "shottr" do version "1.8.1" sha256 "2372cd2ee84845d8ca0e7efd1d644ad81fed56c57ed5a1adfda638e36cb7af62" url "https://shottr.cc/dl/Shottr-#{version}.dmg" name "Shottr" desc "Screenshot measurement and annotation tool" homepage "https://shottr.cc/" livecheck do url "https://shottr.cc/newversion.html" regex(/href=.*?Shottr[._-]v?(\d+(?:\.\d+)+)\.dmg/i) end no_autobump! because: :requires_manual_review auto_updates true depends_on macos: ">= :catalina" app "Shottr.app" zap trash: [ "~/Library/Application Scripts/cc.ffitch.shottr", "~/Library/Application Scripts/cc.ffitch.shottr-LaunchAtLoginHelper", "~/Library/Containers/cc.ffitch.shottr", "~/Library/Containers/cc.ffitch.shottr-LaunchAtLoginHelper", ] end