New idea! Use plist so that Jamf Now and such can push the blocked apps to the agent... This would be amazing! Maybe we use some monitoring observer to see that the file changes and reload accordingly. ]
keysToRemove: remove duplicates, or ignore such as appPath... All other appInfo parameters same, remove dupes...
Bundle ID Selection List
- "com.parallels.desktop.installer":{},
- Place net.jayke.AppBlocker.plist into /Library/LaunchDaemons/
sudo chmod 644 /Library/LaunchDaemons/net.jayke.AppBlocker.plist
sudo chown root:wheel /Library/LaunchDaemons/net.jayke.AppBlocker.plist
sudo launchctl load -w /Library/LaunchDaemons/net.jayke.AppBlocker.plist
Keeping your users on task!