30 lines
1.1 KiB
Ruby
30 lines
1.1 KiB
Ruby
cask 'thunder' do
|
|
version '3.3.5.4090'
|
|
sha256 'cd20a5616ced4fcd425b2f8e58351ea542ab258afd5ca2a256504c6ebe74d553'
|
|
|
|
# down.sandai.net was verified as official when first introduced to the cask
|
|
url "http://down.sandai.net/mac/thunder_#{version}.dmg"
|
|
appcast 'http://static-xl9-ssl.xunlei.com/json/mac_download_url.json'
|
|
name 'Thunder'
|
|
name '迅雷'
|
|
homepage 'https://mac.xunlei.com/'
|
|
|
|
auto_updates true
|
|
depends_on macos: '>= :yosemite'
|
|
|
|
app 'Thunder.app'
|
|
|
|
zap trash: [
|
|
'~/Library/Application Support/Thunder',
|
|
'~/Library/Caches/com.xunlei.Thunder',
|
|
'~/Library/Caches/com.xunlei.XLPlayer',
|
|
'~/Library/Cookies/com.xunlei.Thunder.binarycookies',
|
|
'~/Library/Preferences/com.xunlei.Thunder.loginSDK.plist',
|
|
'~/Library/Preferences/com.xunlei.Thunder.plist',
|
|
'~/Library/Preferences/com.xunlei.XLPlayer.plist',
|
|
'~/Library/Saved Application State/com.xunlei.Thunder.savedState',
|
|
'~/Library/Saved Application State/com.xunlei.XLPlayer.savedState',
|
|
'~/Library/WebKit/com.xunlei.Thunder',
|
|
]
|
|
end
|