homebrew-cask/Casks/cleanshot.rb

28 lines
727 B
Ruby

cask "cleanshot" do
version "3.4.5"
sha256 "1221c0d35b5b40f17969b95836c956418e583ee357d1c039637c05a88b68e75c"
url "https://updates.getcleanshot.com/v#{version.major}/CleanShot-X-#{version}.dmg"
name "CleanShot"
desc "Screen capturing tool"
homepage "https://getcleanshot.com/"
livecheck do
url "https://updates.getcleanshot.com/v#{version.major}/appcast.xml"
strategy :sparkle
end
auto_updates true
app "CleanShot X.app"
uninstall quit: "pl.maketheweb.cleanshotx"
zap trash: [
"~/Library/Application Support/CleanShot",
"~/Library/Caches/SentryCrash/CleanShot X",
"~/Library/Caches/pl.maketheweb.cleanshotx",
"~/Library/Preferences/pl.maketheweb.cleanshotx.plist",
]
end