26 lines
663 B
Ruby
26 lines
663 B
Ruby
cask "shottr" do
|
|
version "1.5.2"
|
|
sha256 "a6827cb18392c9853526f033076a21fca923d08594653cd7d8d6d1000bb27e1e"
|
|
|
|
url "https://shottr.cc/dl/Shottr-#{version}.dmg"
|
|
name "Shottr"
|
|
desc "Screenshot measurement and annotation tool"
|
|
homepage "https://shottr.cc/"
|
|
|
|
livecheck do
|
|
url :homepage
|
|
regex(/Shottr-(\d+(?:\.\d+)+)\.dmg/i)
|
|
end
|
|
|
|
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
|