homebrew-cask/Casks/dropshare.rb

22 lines
917 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'dropshare' do
version '4.6.3,4608'
sha256 'cf0beb0c4bff79ec5c18196e57d31c13cae86f94d3786e9543018735e48f8d70'
2014-10-28 17:00:05 +08:00
2016-02-12 08:12:44 +08:00
# 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"
2016-11-06 08:06:12 +08:00
appcast "https://getdropsha.re/sparkle/Dropshare#{version.major}.xml",
checkpoint: '7e9bdabcc538c1f91f67dcd73aa63256eeb0e64396a5ad3187074fb052ec0df8'
name 'Dropshare'
homepage 'https://getdropsha.re/'
2014-10-28 17:00:05 +08:00
2016-11-06 08:06:12 +08:00
app "Dropshare #{version.major}.app"
zap delete: [
'~/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',
]
2014-10-28 17:00:05 +08:00
end