anfragment / zen

Simple, free and efficient ad-blocker and privacy guard for Windows, macOS and Linux

Home Page:https://zenprivacy.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.