

The script would notify all users actively using Slack that the app would restart itself in several seconds.Īdmittedly, the above solution wasn't organic and understandably it can be a grave security concern for some.

Initially as a fun side-project to satisfy my curiosity, I came up with a solution to mitigate this by having the Slack app, which was already installed in the main /Applications directory, automatically update itself as soon as the Launch Daemon script fetches a new update from. Thus, they aren't able to dismiss the Squirrel Update prompts on their own, which was a productivity hindrance. I manage several macOS remotely, and one of the biggest pains is that our users aren't administrators on those machines. This work was inspired by the challenges I encountered in the workplace. Install Slack app in User's Applications Directory - macOS Background
