mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
30 lines
800 B
Ruby
30 lines
800 B
Ruby
cask "cleanshot" do
|
|
version "4.6.1"
|
|
sha256 "a110f3e4271fc547deb9dc8ad7e6800723b93a731950abc2d8aa7f546aad4490"
|
|
|
|
url "https://updates.getcleanshot.com/v3/CleanShot-X-#{version}.dmg"
|
|
name "CleanShot"
|
|
desc "Screen capturing tool"
|
|
homepage "https://getcleanshot.com/"
|
|
|
|
livecheck do
|
|
url "https://cleanshot.com/changelog"
|
|
regex(/class="number"[^>]*?>(\d+(?:\.\d+)+)</i)
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on macos: ">= :sierra"
|
|
|
|
app "CleanShot X.app"
|
|
|
|
uninstall quit: "pl.maketheweb.cleanshotx"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/CleanShot",
|
|
"~/Library/Caches/pl.maketheweb.cleanshotx",
|
|
"~/Library/Caches/SentryCrash/CleanShot X",
|
|
"~/Library/Preferences/com.getcleanshot.app.plist",
|
|
"~/Library/Preferences/pl.maketheweb.cleanshotx.plist",
|
|
]
|
|
end
|