2015-12-18 09:15:28 +08:00
|
|
|
cask 'private-eye' do
|
2014-09-17 19:42:58 +08:00
|
|
|
version :latest
|
2014-05-08 20:51:31 +08:00
|
|
|
sha256 :no_check
|
2014-06-27 08:01:37 +08:00
|
|
|
|
2015-10-13 02:12:35 +08:00
|
|
|
url 'http://radiosilenceapp.com/downloads/Private_Eye_for_OS_X_10.9_and_later.pkg'
|
2015-04-21 22:55:31 +08:00
|
|
|
name 'Private Eye'
|
2014-06-27 08:01:37 +08:00
|
|
|
homepage 'http://radiosilenceapp.com/private-eye'
|
2014-10-01 23:33:40 +08:00
|
|
|
license :oss
|
2014-06-27 08:01:37 +08:00
|
|
|
|
2015-10-13 02:12:35 +08:00
|
|
|
pkg 'Private_Eye_for_OS_X_10.9_and_later.pkg'
|
2016-01-04 03:19:16 +08:00
|
|
|
|
2014-02-05 23:10:32 +08:00
|
|
|
# We intentionally unload the kext twice as a workaround
|
2014-05-03 23:16:12 +08:00
|
|
|
# See https://github.com/caskroom/homebrew-cask/pull/1802#issuecomment-34171151
|
2014-11-22 22:12:44 +08:00
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
uninstall early_script: {
|
|
|
|
executable: '/sbin/kextunload',
|
|
|
|
args: ['-b', 'com.radiosilenceapp.nke.PrivateEye'],
|
|
|
|
must_succeed: false,
|
|
|
|
},
|
|
|
|
quit: 'com.radiosilenceapp.PrivateEye',
|
|
|
|
kext: 'com.radiosilenceapp.nke.PrivateEye',
|
|
|
|
pkgutil: 'com.radiosilenceapp.privateEye.*',
|
|
|
|
launchctl: 'com.radiosilenceapp.nke.PrivateEye'
|
2013-11-20 10:45:16 +08:00
|
|
|
end
|