homebrew-cask/Casks/remotix-agent.rb

36 lines
1.2 KiB
Ruby

cask "remotix-agent" do
version "1.4.5-20616"
sha256 "230b3ee763e02ec0f39cd78f4356e589ea086984856af39ab69fd1572cbb70f1"
# remotix.com/agent-mac was verified as official when first introduced to the cask
url "https://downloads.remotix.com/agent-mac/RemotixAgent-#{version}.pkg"
appcast "https://remotix.com/downloads-mac/"
name "Remotix Agent"
homepage "https://remotixcloud.com/"
auto_updates true
pkg "RemotixAgent-#{version}.pkg"
uninstall pkgutil: [
"com.nulana.rxagentmac.daemon",
"com.nulana.rxagentmac",
],
signal: [
["KILL", "com.nulana.rxagentmac.user"],
["KILL", "com.nulana.rxagentmac"],
],
launchctl: [
"com.nulana.rxagentmac.user",
"com.nulana.rxagentmac.daemon",
"com.nulana.rxagentmac.gui",
"com.nulana.rxagentmac.rc",
],
login_item: "Remotix Agent",
quit: "com.nulana.rxagentmac",
delete: [
"/Library/LaunchAgents/com.nulana.rxagentmac.user.plist",
"/Library/LaunchDaemons/com.nulana.rxagentmac.daemon.plist",
]
end