我使用applescript以root权限启动我的脚本.
osascript -e "do shell script \"myscript.sh\" with administrator privileges"
Run Code Online (Sandbox Code Playgroud)
此文本显示在提示中:
osascript wants to make changes.
Type your password to allow this.
Run Code Online (Sandbox Code Playgroud)
如何将名称"osascript"更改为我的可执行文件名称?有没有办法在此提示中更改图标?