26 lines
942 B
Ruby
26 lines
942 B
Ruby
cask 'thunder' do
|
|
version '3.0.4.2714'
|
|
sha256 '942f6ca275e7fa76ea06d1e36df5129a2825f44f119349ffe5fee29700e04c3f'
|
|
|
|
# down.sandai.net was verified as official when first introduced to the cask
|
|
url "http://down.sandai.net/mac/thunder_#{version}.dmg"
|
|
name 'Thunder'
|
|
name '迅雷'
|
|
homepage 'http://mac.xunlei.com/'
|
|
|
|
depends_on macos: '>= :yosemite'
|
|
|
|
app 'Thunder.app'
|
|
|
|
zap delete: [
|
|
'~/Library/Application Support/Thunder',
|
|
'~/Library/Caches/com.xunlei.Thunder',
|
|
'~/Library/Caches/com.xunlei.XLPlayer',
|
|
'~/Library/Caches/com.xunlei.swjsq',
|
|
'~/Library/Cookies/com.xunlei.Thunder.binarycookies',
|
|
'~/Library/Preferences/com.xunlei.Thunder.plist',
|
|
'~/Library/Saved Application State/com.xunlei.Thunder.savedState',
|
|
'~/Library/Saved Application State/com.xunlei.XLPlayer.savedState',
|
|
]
|
|
end
|