32 lines
903 B
Ruby
32 lines
903 B
Ruby
cask "qqlive" do
|
|
version "2.78.0.53792"
|
|
sha256 "757f9686076d23fb941c0de256ea59b55f8acfef358a4e4da6171e813b268630"
|
|
|
|
url "https://dldir1.qq.com/qqtv/mac/TencentVideo#{version}.dmg"
|
|
name "QQLive"
|
|
name "TencentVideo"
|
|
name "腾讯视频"
|
|
desc "Tencent video streaming and sharing platform"
|
|
homepage "https://v.qq.com/download.html#mac"
|
|
|
|
livecheck do
|
|
url :homepage
|
|
regex(%r{href=.*/TencentVideo(\d+(?:\.\d+)+)\.dmg}i)
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on macos: ">= :el_capitan"
|
|
|
|
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
|