excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / shottr.rb
blob6645a8f5b98eecdc43a05ac7a94648b3c8662b2c
1 cask "shottr" do
2   version "1.8.1"
3   sha256 "2372cd2ee84845d8ca0e7efd1d644ad81fed56c57ed5a1adfda638e36cb7af62"
5   url "https://shottr.cc/dl/Shottr-#{version}.dmg"
6   name "Shottr"
7   desc "Screenshot measurement and annotation tool"
8   homepage "https://shottr.cc/"
10   livecheck do
11     url "https://shottr.cc/newversion.html"
12     regex(/href=.*?Shottr[._-]v?(\d+(?:\.\d+)+)\.dmg/i)
13   end
15   auto_updates true
16   depends_on macos: ">= :catalina"
18   app "Shottr.app"
20   zap trash: [
21     "~/Library/Application Scripts/cc.ffitch.shottr",
22     "~/Library/Application Scripts/cc.ffitch.shottr-LaunchAtLoginHelper",
23     "~/Library/Containers/cc.ffitch.shottr",
24     "~/Library/Containers/cc.ffitch.shottr-LaunchAtLoginHelper",
25   ]
26 end