homebrew-cask/Casks/private-eye.rb

20 lines
722 B
Ruby
Raw Normal View History

2013-11-20 10:45:16 +08:00
class PrivateEye < Cask
2014-09-17 19:42:58 +08:00
version :latest
2014-05-08 20:51:31 +08:00
sha256 :no_check
url 'http://radiosilenceapp.com/downloads/Private%20Eye.pkg'
homepage 'http://radiosilenceapp.com/private-eye'
2014-09-10 23:37:05 +08:00
pkg 'Private Eye.pkg'
# We intentionally unload the kext twice as a workaround
# See https://github.com/caskroom/homebrew-cask/pull/1802#issuecomment-34171151
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.*'
2013-11-20 10:45:16 +08:00
end