homebrew-cask/Casks/prey.rb

23 lines
666 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'prey' do
2016-02-04 17:32:34 +08:00
version '1.5.0'
sha256 '5068c388797ef45f03494d2da92423c6372abf3a4ca3b95001978a19b2603b01'
2015-02-03 01:10:58 +08:00
# amazonaws.com is the official download host per the vendor homepage
2015-10-04 19:19:50 +08:00
url "https://prey-releases.s3.amazonaws.com/node-client/#{version}/prey-mac-#{version}-x64.pkg"
2015-04-21 22:53:53 +08:00
name 'Prey'
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