Casks/b/blackhole-16ch.rb
cask "blackhole-16ch" do
version "0.6.0"
sha256 "269b9ae060af99721b2c8a67e4230bf4270345e07ee7846f473c91bb13f1549d"
url "https://existential.audio/downloads/BlackHole16ch-#{version}.pkg"
name "BlackHole 16ch"
desc "Virtual Audio Driver"
homepage "https://existential.audio/blackhole/"
# The upstream website doesn't provide version information. We check GitHub
# releases as a best guess of when a new version is released.
livecheck do
url "https://github.com/ExistentialAudio/BlackHole"
strategy :github_latest
end
pkg "BlackHole16ch-#{version}.pkg"
uninstall_postflight do
system_command "/usr/bin/killall",
args: ["coreaudiod"],
sudo: true,
must_succeed: true
end
uninstall quit: "com.apple.audio.AudioMIDISetup",
pkgutil: "audio.existential.BlackHole16ch"
# No zap stanza required
end