30 lines
1.1 KiB
Ruby
30 lines
1.1 KiB
Ruby
cask 'thunder' do
|
|
version '3.1.2.3078'
|
|
sha256 '60ddd58c725194817d3b7ebc61c077610ffab5c5c33679a110b8add4dbb5f0e0'
|
|
|
|
# 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/Caches/com.xunlei.Thunder',
|
|
'~/Library/Caches/com.xunlei.XLPlayer',
|
|
'~/Library/Cookies/com.xunlei.Thunder.binarycookies',
|
|
'~/Library/Saved Application State/com.xunlei.Thunder.savedState',
|
|
'~/Library/Saved Application State/com.xunlei.XLPlayer.savedState',
|
|
'~/Library/WebKit/com.xunlei.Thunder',
|
|
],
|
|
trash: [
|
|
'~/Library/Application Support/Thunder',
|
|
'~/Library/Preferences/com.xunlei.Thunder.loginSDK.plist',
|
|
'~/Library/Preferences/com.xunlei.Thunder.plist',
|
|
'~/Library/Preferences/com.xunlei.XLPlayer.plist',
|
|
]
|
|
end
|