homebrew-cask/Casks/dropshare.rb

23 lines
908 B
Ruby

cask "dropshare" do
version "5.8.4,5196"
sha256 "37d0ea539973d2ab099007adc13da0f4470fc87fc53c5e9e280db6a8971fe029"
url "https://d2wvuuix8c9e48.cloudfront.net/Dropshare#{version.major}-#{version.after_comma}.app.zip",
verified: "d2wvuuix8c9e48.cloudfront.net/"
appcast "https://dropshare.app/sparkle/Dropshare#{version.major}.xml"
name "Dropshare"
desc "File sharing solution"
homepage "https://dropshare.app/"
app "Dropshare #{version.major}.app"
binary "#{appdir}/Dropshare #{version.major}.app/Contents/Resources/ds.sh", target: "ds"
zap trash: [
"~/Library/Application Support/Dropshare #{version.major}",
"~/Library/Caches/net.mkswap.Dropshare#{version.major}",
"~/Library/Cookies/net.mkswap.Dropshare#{version.major}.binarycookies",
"~/Library/Logs/Dropshare #{version.major}",
"~/Library/Preferences/net.mkswap.Dropshare#{version.major}.plist",
]
end