-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
/
itunes-volume-control.rb
22 lines (18 loc) · 875 Bytes
/
itunes-volume-control.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cask "itunes-volume-control" do
version "1.7.5"
sha256 "0d4d22476e3a1b4891e335d86eb28c46fe663bd6d3226d3a8d0ad5d6a5de76d9"
url "https://raw.githubusercontent.com/alberti42/Volume-Control/main/Releases/VolumeControl-v#{version}.zip",
verified: "raw.githubusercontent.com/alberti42/Volume-Control/main/Releases/"
name "iTunes Volume Control"
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://raw.githubusercontent.com/alberti42/Volume-Control/main/README.md"
regex(/VolumeControl[._-]v?(\d+(?:\.\d+)+)\.zip/i)
end
auto_updates true
depends_on macos: ">= :mojave"
app "Volume Control.app"
end