27 lines
723 B
Ruby
27 lines
723 B
Ruby
cask "shottr" do
|
|
version "1.7.1"
|
|
sha256 "99ee3c3683185e690e665cbdda89a4059e89ec6bf2e21415f9adfe3bb43606bf"
|
|
|
|
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
|
|
|
|
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
|