23 lines
776 B
Ruby
23 lines
776 B
Ruby
cask "prey" do
|
|
version "1.9.8"
|
|
sha256 "cf886901da42eac1c013bb5322b134b5e3a7fe88938523f2dbac47c6b3877d55"
|
|
|
|
url "https://downloads.preyproject.com/prey-client-releases/node-client/#{version}/prey-mac-#{version}-x64.pkg"
|
|
appcast "https://github.com/prey/prey-node-client/releases.atom"
|
|
name "Prey"
|
|
homepage "https://www.preyproject.com/"
|
|
|
|
pkg "prey-mac-#{version}-x64.pkg"
|
|
|
|
uninstall pkgutil: "com.prey.agent",
|
|
launchctl: "com.prey.agent"
|
|
|
|
caveats <<~EOS
|
|
Prey requires your API key, found in the bottom-left corner of
|
|
the Prey web account Settings page, to complete installation.
|
|
The API key may be set as an environment variable as follows:
|
|
|
|
HOMEBREW_NO_ENV_FILTERING=1 API_KEY="abcdef123456" brew install --cask prey
|
|
EOS
|
|
end
|