[MacTUG] WatSafe - allow system events

Dani Roloson daroloso at uwaterloo.ca
Tue Dec 17 15:00:48 EST 2019


cat /Library/LaunchAgents/ca.uwaterloo.watsafe.plist


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.comDTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

   <key>Label</key>

   <string>ca.uwaterloo.watsafe</string>

   <key>ProgramArguments</key>

   <array>

      <string>open</string>

      <string>/Applications/Desktop Notifications.app</string>

   </array>

   <key>RunAtLoad</key>

   <true/>

   <key>StandardOutPath</key>

   <string>/var/log/ca.uwaterloo.watsafe.log</string>

   <key>StandardErrorPath</key>

   <string>/var/log/ca.uwaterloo.watsafe.log</string>

   <key>Debug</key>

   <true/>

</dict>

</plist>


(so no backslash but you'll need the open; as mentioned before touch the log but also chmod a+w)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.uwaterloo.ca/mailman/private/mactug/attachments/20191217/ac6bc094/attachment.html>


More information about the MacTUG mailing list