homebrew-cask/Casks/qqlive.rb

26 lines
865 B
Ruby

cask 'qqlive' do
version '2.11.1.49520'
sha256 '26b3fa19f77775ca773cab6941c643ee33bf9689fa5b051a05e1e012db7540f5'
url "https://dldir1.qq.com/qqtv/mac/TencentVideo_V#{version}.dmg"
appcast 'https://v.qq.com/download.html#mac'
name 'QQLive'
name '腾讯视频'
homepage 'https://v.qq.com/download.html#mac'
auto_updates true
depends_on macos: '>= :yosemite'
app 'QQLive.app'
zap trash: [
'~/Library/Caches/com.tencent.tenvideo',
'~/Library/Containers/com.tencent.tenvideo',
'~/Library/Cookies/com.tencent.tenvideo.binarycookies',
'~/Library/Logs/QQLive',
'~/Library/Preferences/com.tencent.tenvideo.plist',
'~/Library/Saved Application State/com.tencent.tenvideo.savedState',
'~/Library/WebKit/com.tencent.tenvideo',
]
end