mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
Update and rename kuaitie.rb to kuaitie.rb
This commit is contained in:
@@ -9,10 +9,10 @@ cask "kuaitie" do
|
||||
|
||||
livecheck do
|
||||
url "https://clipber.com/getmac"
|
||||
regex(/copies[._-]v?(\d+(?:-\d+)+)\.dmg/i)
|
||||
regex(/copies[._-]v?(\d+(?:_\d+)+)\.dmg/i)
|
||||
strategy :header_match do |headers, regex|
|
||||
headers["location"].scan(regex).map do |match|
|
||||
match[0].tr("-", ".").to_s
|
||||
match[0].tr("_", ".").to_s
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user