18 lines
426 B
Ruby
18 lines
426 B
Ruby
cask "yy" do
|
|
version "1.8.0"
|
|
sha256 "c97c1380584d67893aa55f4ecc0dbce8951f36e53e801e0732b3dda499dcdd64"
|
|
|
|
url "https://yydl.duowan.com/mac/YY/#{version}/YY-#{version}.dmg",
|
|
verified: "yydl.duowan.com/mac/YY/"
|
|
name "YY"
|
|
homepage "https://www.yy.com/"
|
|
|
|
livecheck do
|
|
url "https://www.yy.com/index/t/download"
|
|
strategy :page_match
|
|
regex(%r{href=.*?/YY-(\d+(?:\.\d+)*)\.dmg}i)
|
|
end
|
|
|
|
app "YY.app"
|
|
end
|