27 lines
1.0 KiB
Ruby
27 lines
1.0 KiB
Ruby
cask 'thunder' do
|
|
version '3.1.0.2968'
|
|
sha256 'a1f7d9496e5abff021d18a56a0d1984b62e67c8851ad78d840776f652764661f'
|
|
|
|
# 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/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',
|
|
]
|
|
end
|