Hey All,
I am trying to find a way to have one of out users be able to update his plugins without us needing to scope the make me an admin script onto his machine all of the time. I made a script to run the plugin manager app as admin then kill it after 10 minutes for security, but wanted to see if there is a better way to do this. Here is what I have
#!/bin/bash
# Run the app as administrator
sudo open -a "/System/Applications/MyApp.app"
# Shutdown the app after 10 minutes
sleep 10m
pkill myapp