30 lines
1.1 KiB
Ruby
30 lines
1.1 KiB
Ruby
cask 'thunder' do
|
|
version '3.1.4.3146'
|
|
sha256 '5c2348ade859b3e82ede769f1809469c0099a4cafefdda8e89dab44ae2a42ead'
|
|
|
|
# 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
|