mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
Merge pull request #164420 from WangEdward/bump-qqmusic-9.0.0-02
qqmusic 9.0.0,02
This commit is contained in:
+10
-5
@@ -1,15 +1,20 @@
|
||||
cask "qqmusic" do
|
||||
version "8.8.5,73228"
|
||||
sha256 :no_check
|
||||
version "9.0.0,02"
|
||||
sha256 "3a8c90b454370f586fd980b7cd70260f806051018c4dd92527e7a2d98d42b9cb"
|
||||
|
||||
url "https://dldir1.qq.com/music/clntupate/mac/QQMusicMac_Mgr.dmg"
|
||||
url "https://dldir1.qq.com/music/clntupate/mac/QQMusicMac#{version.csv.first}Build#{version.csv.second}.dmg"
|
||||
name "QQ音乐"
|
||||
desc "Chinese music streaming application"
|
||||
homepage "https://y.qq.com/"
|
||||
|
||||
livecheck do
|
||||
url :url
|
||||
strategy :extract_plist
|
||||
url "https://y.qq.com/download/download.js"
|
||||
regex(/QQMusicMac[._-]?v?(\d+(?:[._]\d+)+)[._-]?build[._-]?(\d+)\.dmg/i)
|
||||
strategy :page_match do |page, regex|
|
||||
page.scan(regex).map do |match|
|
||||
"#{match[0]},#{match[1]}"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
auto_updates true
|
||||
|
||||
Reference in New Issue
Block a user