homebrew-cask/Casks/r/raindropio.rb

34 lines
1.1 KiB
Ruby

cask "raindropio" do
arch arm: "arm64", intel: "x64"
version "5.6.35"
sha256 arm: "96e2eed0d37a6c8869a08f83f730b446a75e8d8f153164e5461919b4e0fd9cba",
intel: "ce1226ac9932455a0f5f69e4e25cf78830921df69a052b8ee698e54c5a3ba021"
url "https://github.com/raindropio/desktop/releases/download/v#{version}/Raindrop-#{arch}.dmg",
verified: "github.com/raindropio/desktop/"
name "Raindrop.io"
desc "All-in-one bookmark manager"
homepage "https://raindrop.io/"
# First-party download page links to dmg file from GitHub "latest" release.
livecheck do
url :url
strategy :github_latest
end
auto_updates true
app "Raindrop.io.app"
zap trash: [
"~/Library/Application Support/Raindrop.io",
"~/Library/Caches/com.apple.Safari/Extensions/Raindrop.io.safariextension",
"~/Library/Cookies/io.raindrop.mac.binarycookies",
"~/Library/Preferences/io.raindrop.mac.helper.plist",
"~/Library/Preferences/io.raindrop.mac.plist",
"~/Library/Safari/Extensions/Raindrop.io.safariextz",
"~/Library/Saved Application State/io.raindrop.mac.savedState",
]
end