mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
itunes-volume-control: update livecheck
This commit is contained in:
@@ -8,10 +8,11 @@ cask "itunes-volume-control" do
|
||||
desc "Control the volume of Apple Music and Spotify using keyboard volume keys"
|
||||
homepage "https://github.com/alberti42/Volume-Control"
|
||||
|
||||
# Upstream doesn't use GitHub releases or reliably create tags for new
|
||||
# versions. Instead, we match the file links in the README.
|
||||
livecheck do
|
||||
url "https://github.com/alberti42/Volume-Control#versions"
|
||||
regex(%r{href=.*?/VolumeControl[._-]v?(\d+(?:\.\d+)+)\.zip}i)
|
||||
strategy :page_match
|
||||
url "https://raw.githubusercontent.com/alberti42/Volume-Control/main/README.md"
|
||||
regex(/VolumeControl[._-]v?(\d+(?:\.\d+)+)\.zip/i)
|
||||
end
|
||||
|
||||
auto_updates true
|
||||
|
||||
Reference in New Issue
Block a user