2013-08-26 00:19:09 +08:00
|
|
|
class Prey < Cask
|
2014-06-15 14:55:20 +08:00
|
|
|
version '0.6.3'
|
|
|
|
sha256 '7193cf76a776a015c7b533372506963c9ec2720966245dab1e0c02d149da1010'
|
2014-06-27 08:01:37 +08:00
|
|
|
|
2014-09-26 20:09:07 +08:00
|
|
|
url "https://preyproject.com/releases/current/prey-#{version}-mac-batch.mpkg.zip"
|
2014-06-27 08:01:37 +08:00
|
|
|
homepage 'https://preyproject.com'
|
2014-10-01 23:33:40 +08:00
|
|
|
license :unknown
|
2014-06-27 08:01:37 +08:00
|
|
|
|
2014-09-26 20:09:07 +08:00
|
|
|
pkg "prey-#{version}-mac-batch.mpkg"
|
2013-08-26 00:19:09 +08:00
|
|
|
uninstall :pkgutil => 'com.forkhq.prey'
|
2014-01-15 06:41:11 +08:00
|
|
|
caveats <<-EOS.undent
|
|
|
|
Prey requires an API key during installation. If none is found,
|
|
|
|
installation will fail. To install using your API key, set it
|
|
|
|
as an environment variable during installation like this:
|
2013-08-26 00:19:09 +08:00
|
|
|
|
2014-01-15 06:41:11 +08:00
|
|
|
brew cask uninstall prey
|
|
|
|
API_KEY="abcdef123456" brew cask install prey
|
2013-08-26 00:19:09 +08:00
|
|
|
|
|
|
|
EOS
|
|
|
|
end
|