homebrew-cask/Casks/prey.rb

18 lines
625 B
Ruby

class Prey < Cask
url 'http://preyproject.com/releases/current/prey-0.6.2-mac-batch.mpkg.zip'
homepage 'https://preyproject.com'
version '0.6.2'
sha256 '5046beca65c8e4502ee452d4478b0e421e4cb1d178297fda466f495d6d5089db'
install 'prey-0.6.2-mac-batch.mpkg'
uninstall :pkgutil => 'com.forkhq.prey'
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:
brew cask uninstall prey
API_KEY="abcdef123456" brew cask install prey
EOS
end