homebrew-cask/Casks/prey.rb

22 lines
663 B
Ruby
Raw Normal View History

2014-11-14 01:26:42 +08:00
cask :v1 => 'prey' do
2015-04-21 20:12:43 +08:00
version '1.3.9'
sha256 'e01f342c4a6d57b495eaf182fc859f268fdf4f531d82560a97beb3310ec80587'
2015-02-03 01:10:58 +08:00
# amazonaws.com is the official download host per the vendor homepage
url "https://s3.amazonaws.com/prey-releases/node-client/#{version}/prey-mac-#{version}-x64.pkg"
homepage 'https://preyproject.com'
2015-02-03 01:10:58 +08:00
license :gpl
2015-02-03 01:10:58 +08:00
pkg "prey-mac-#{version}-x64.pkg"
uninstall :pkgutil => 'com.prey.agent',
:launchctl => 'com.prey.agent'
2014-11-22 22:12:44 +08:00
caveats <<-EOS.undent
2014-10-07 22:54:38 +08:00
To complete installation, Prey requires an API key. It may be set
as an environment variable as follows:
API_KEY="abcdef123456" brew cask install prey
2014-10-07 22:54:38 +08:00
EOS
end