1 cask "sound-control" do
3 sha256 "4e8e2d00efc0f7a57826a96ba2cb20260e47d5304f68df3ef712a075d56b8d89"
5 url "https://s3.amazonaws.com/staticz.net/downloads/soundcontrol/SoundControl_#{version}.dmg",
6 verified: "s3.amazonaws.com/staticz.net/downloads/soundcontrol/"
8 desc "Per-app audio controls"
9 homepage "https://staticz.com/soundcontrol/"
13 regex(/Sound\s+Control\s+v?(\d+(?:\.\d+)+)\s+Release\s+Notes/im)
14 strategy :page_match do |page, regex|
15 page.scan(regex).map { |match| match[0] }
20 depends_on macos: ">= :big_sur"
22 app "Sound Control.app"
24 uninstall launchctl: [
25 "com.static.soundsiphon.inputagent",
26 "com.staticz.audio.soundsiphon.playeragent",
27 "com.staticz.soundsiphon.bridgedaemon",
29 quit: "com.staticz.SoundControl"
32 "/Library/Audio/Plug-Ins/HAL/_SoundSiphon.driver",
33 "/Library/LaunchAgents/com.staticz.soundsiphon.inputagent.plist",
34 "/Library/LaunchAgents/com.staticz.soundsiphon.playeragent.plist",
35 "/Library/LaunchDaemons/com.staticz.soundsiphon.bridgedaemon.plist",
36 "/Library/Preferences/Audio/Data/_SoundSiphon.driver",
37 "~/Library/Application Support/com.staticz.SoundControl",
38 "~/Library/Caches/com.staticz.SoundControl",
39 "~/Library/Cookies/com.staticz.SoundControl.binarycookies",
40 "~/Library/Cookies/com.staticz.SoundControl.binarycookies*",
41 "~/Library/HTTPStorages/com.staticz.SoundControl.binarycookies",
42 "~/Library/Preferences/com.staticz.SoundControl.plist",
43 "~/Library/Preferences/com.staticz.soundsiphon.playeragent.plist",