Where would I put the plist for this? Would I put it in /Library/LaunchAgents since the observer needs to run in userspace? I don't know how it would delete an application in non userspace, say there was install macOS, etc, that would require XPC to a daemon/agent running as root to then delete the said application.
EDIT: And my bad, I'm pretty sure that's how the Jamf workflow goes. It tracks application usage using the notification center, amongst other things such as detecting when restricted software is launched.
Would this even work running as root?
Let me know,
Thanks,
Jayke
Where would I put the plist for this? Would I put it in /Library/LaunchAgents since the observer needs to run in userspace? I don't know how it would delete an application in non userspace, say there was install macOS, etc, that would require XPC to a daemon/agent running as root to then delete the said application.
EDIT: And my bad, I'm pretty sure that's how the Jamf workflow goes. It tracks application usage using the notification center, amongst other things such as detecting when restricted software is launched.
Would this even work running as root?
Let me know,
Thanks,
Jayke