homebrew-cask/Casks/dropshare.rb

22 lines
907 B
Ruby

cask 'dropshare' do
version '5,5026'
sha256 '0dd7d86991da4566b3ec25eaf8f35042caa2c5247a4436f29488c0a7613baddf'
# d2wvuuix8c9e48.cloudfront.net was verified as official when first introduced to the cask
url "https://d2wvuuix8c9e48.cloudfront.net/Dropshare#{version.major}-#{version.after_comma}.app.zip"
appcast "https://getdropsha.re/sparkle/Dropshare#{version.major}.xml"
name 'Dropshare'
homepage 'https://getdropsha.re/'
app "Dropshare #{version.major}.app"
binary "#{appdir}/Dropshare #{version.major}.app/Contents/Resources/ds.sh", target: 'ds'
zap trash: [
'~/Library/Application Support/Dropshare 4',
'~/Library/Caches/net.mkswap.Dropshare4',
'~/Library/Cookies/net.mkswap.Dropshare4.binarycookies',
'~/Library/Logs/Dropshare 4',
'~/Library/Preferences/net.mkswap.Dropshare4.plist',
]
end