-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
/
private-eye.rb
25 lines (21 loc) · 946 Bytes
/
private-eye.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
cask "private-eye" do
version "1.1.0"
sha256 :no_check
url "https://radiosilenceapp.com/downloads/Private_Eye_for_OS_X_10.9_and_later.pkg"
name "Private Eye"
desc "Network monitor"
homepage "https://radiosilenceapp.com/private-eye"
deprecate! date: "2024-07-06", because: :unmaintained
pkg "Private_Eye_for_OS_X_10.9_and_later.pkg"
# We intentionally unload the kext twice as a workaround
# See https://github.com/Homebrew/homebrew-cask/pull/1802#issuecomment-34171151
uninstall early_script: {
executable: "/sbin/kextunload",
args: ["-b", "com.radiosilenceapp.nke.PrivateEye"],
must_succeed: false,
},
launchctl: "com.radiosilenceapp.nke.PrivateEye",
quit: "com.radiosilenceapp.PrivateEye",
kext: "com.radiosilenceapp.nke.PrivateEye",
pkgutil: "com.radiosilenceapp.privateEye.*"
end