【发布时间】:2014-06-24 09:24:50
【问题描述】:
我使用 applescript 以 root 权限启动我的脚本。
osascript -e "do shell script \"myscript.sh\" with administrator privileges"
这个文本显示在提示符中:
osascript wants to make changes.
Type your password to allow this.
如何将名称“osascript”更改为我的可执行文件名称?有没有办法改变这个提示中的图标?
【问题讨论】:
-
你找到解决办法了吗?
-
@Arash 不,我不再使用它了。但我想标记的答案将是一个很好的解决方法
标签: applescript prompt privileges administrator