Skip to content

This a tool to copy the XProtect.plist file whenever it changes via LaunchDaemon. This is not a managment system for XProtect.

Notifications You must be signed in to change notification settings

andrewdmontgomery/XProtectGit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XProtectWatch

XProtectWatch

This a tool to copy the XProtect.plist file whenever it changes via a User LaunchAgents. This is not a management system for XProtect.

Copy the files as needed:

  • /usr/local/bin/watchProtect.sh
  • ~/Library/LaunchAgents/com.stonyrivertech.XProtect.plist

Be sure to chmod +x /usr/local/bin/watchProtect.sh so it's an executable script and that the plist permissions are rw-r--r-- 1 username staff

Once the files are copied to your computer in the correct locations you can load the LaunchDaemon via:

sudo launchctl load ~/Library/LaunchAgents/com.stonyrivertech.XProtect.plist

Debug

You can enable debug mode by changing the value of the following line on watchProtect.sh debug_log="disabled" # Change to "enable" to start debug logs

RollBack

rollBack.sh

THIS IS A HACK SCRIPT! I just created this to help me test terminal-notifier to force a new update by copping the old data and removing some archives. Not a true management solution.

terminal-notifier

If you want to be notified of updates via Notification Center, I've enabled some small validation items to utilize terminal-notifier. You can run the terminal-notifier.sh script from this repo which will download, verify md5 hash, unzip, and install to your /Applications folder.

Terminal Notifier Example

About

This a tool to copy the XProtect.plist file whenever it changes via LaunchDaemon. This is not a managment system for XProtect.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published