23 lines
1001 B
Ruby
23 lines
1001 B
Ruby
cask 'dropshare' do
|
|
version '4.9.2,4702'
|
|
sha256 'b135197678ddf2694d741cc83d8e72949e4da7035c8c7621ce8e853fb3015abc'
|
|
|
|
# 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",
|
|
checkpoint: 'a579ccfcd8b8bec7b4b488b3ef2795babf0bfa23d4a840646e6ed10a8dbef241'
|
|
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
|