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'
|
2014-06-27 08:01:37 +08:00
|
|
|
|
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'
|
2014-06-27 08:01:37 +08:00
|
|
|
homepage 'https://preyproject.com'
|
2015-02-03 01:10:58 +08:00
|
|
|
license :gpl
|
2014-06-27 08:01:37 +08:00
|
|
|
|
2015-02-03 01:10:58 +08:00
|
|
|
pkg "prey-mac-#{version}-x64.pkg"
|
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
uninstall pkgutil: 'com.prey.agent',
|
|
|
|
launchctl: 'com.prey.agent'
|
2014-11-22 22:12:44 +08:00
|
|
|
|
2014-01-15 06:41:11 +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:
|
2013-08-26 00:19:09 +08:00
|
|
|
|
2014-01-15 06:41:11 +08:00
|
|
|
API_KEY="abcdef123456" brew cask install prey
|
2014-10-07 22:54:38 +08:00
|
|
|
EOS
|
2013-08-26 00:19:09 +08:00
|
|
|
end
|