-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
/
Copy pathblackhole-16ch.rb
30 lines (24 loc) · 924 Bytes
/
blackhole-16ch.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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