itunes-volume-control: add livecheck (#97766)

This commit is contained in:
Markus Reiter 2021-01-10 18:43:03 +01:00 committed by GitHub
parent aaa6391ecc
commit 41d528d6ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -4,10 +4,15 @@ cask "itunes-volume-control" do
url "http://quantum-technologies.iap.uni-bonn.de/alberti/iTunesVolumeControl/iTunesVolumeControl-v#{version}.zip",
verified: "uni-bonn.de/alberti/iTunesVolumeControl/"
appcast "https://github.com/alberti42/iTunes-Volume-Control#versions"
name "iTunes Volume Control"
homepage "https://github.com/alberti42/iTunes-Volume-Control"
livecheck do
url "https://github.com/alberti42/iTunes-Volume-Control#versions"
strategy :page_match
regex(%r{href=.*?/iTunesVolumeControl-v?(\d+(?:\.\d+)*)\.zip}i)
end
auto_updates true
depends_on macos: ">= :mojave"