Replace elevate library with AppleScript command via osascript
anfragment opened this issue · comments
Description
Example:
osascript -e 'do shell script "command_goes_here" with administrator privileges with prompt "Your custom message here"'
security
errors out when called from AppleScript with the following error:
-p policy Specify policy constraint (ssl, smime, codeSign, IPSec, basic, swUpdate, pkgSign, pkinitClient, pkinitServ -e allowedError Specify allowed error (certExpired, hostnameMismatch) or Add trusted certificate(s). (2)ttings file; default is user domain
Closing as not viable.