Skip to content

Commit

Permalink
to-audio-converter: update livecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
khipp committed Jul 20, 2024
1 parent 5203dee commit e28245e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Casks/t/to-audio-converter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,15 @@
homepage "https://amvidia.com/to-audio-converter"

livecheck do
url :url
strategy :extract_plist
url "https://amvidia.com/to-audio-converter/support"
regex(/Version:.*?v?(\d+(?:\.\d+)+)\s+\((\d+)\)/i)
strategy :page_match do |page, regex|
page.scan(regex).map { |match| "#{match[0]},#{match[1]}" }
end
end

depends_on macos: ">= :high_sierra"

app "To Audio Converter.app"

zap trash: [
Expand Down

0 comments on commit e28245e

Please sign in to comment.