Files
homebrew-cask/Casks/d/dropbox-capture.rb
2023-11-20 19:06:10 -05:00

33 lines
1.1 KiB
Ruby

cask "dropbox-capture" do
arch arm: "arm64", intel: "x86_64"
version "111.2.0"
sha256 arm: "bab30c9c27e635be8b13cd689302c958c7de99649a12788559e445ce5106e7ce",
intel: "51d685aa48517b50288767fff3c1efc6b5136b0491151197f35dba23c3b4fc58"
url "https://edge.dropboxstatic.com/dbx-releng/products/dropbox-capture/#{version}/mac.#{arch}/Dropbox_Capture.dmg",
verified: "edge.dropboxstatic.com/dbx-releng/products/dropbox-capture/"
name "Dropbox Capture"
desc "Share your work and ideas with video messages and screenshots"
homepage "https://dropbox.com/capture/"
livecheck do
url "https://dropbox.com/capture/download"
strategy :header_match
end
auto_updates true
depends_on macos: ">= :el_capitan"
app "Dropbox Capture.app"
zap trash: [
"~/Library/Application Support/Dropbox-Capture",
"~/Library/Caches/Dropbox-Capture",
"~/Library/Caches/com.electron.dropbox-capture",
"~/Library/Caches/com.electron.dropbox-capture.ShipIt",
"~/Library/Logs/Dropbox-Capture",
"~/Library/Preferences/com.electron.dropbox-capture.plist",
]
end