Update Casks/d/deelay.rb

Co-authored-by: Bevan Kay <bevanjkay@gmail.com>
This commit is contained in:
rlpvin 2024-02-20 20:32:49 +05:30 committed by GitHub
parent 571c345f55
commit 38544a9204
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ cask "deelay" do
livecheck do
url :homepage
regex(%r{href=.*?/(\w+)/(\w+)/deelay[._-](\d+(?:\.\d+)+)\.zip}i)
regex(%r{href=.*?/(\w+)/(\w+)/deelay[._-]v?(\d+(?:\.\d+)+)\.zip}i)
strategy :page_match do |page, regex|
page.scan(regex).map { |match| "#{match[2]},#{match[0]},#{match[1]}" }
end