Mac指令---持续更新

来源:互联网 发布:天津三叶网络 编辑:程序博客网 时间:2024/06/06 00:07


spctl 命令

Usage: spctl --assess [--type type] [-v] path ... # assessment
       spctl --add [--type type] [--path|--requirement|--anchor|--hash] spec ... # add rule(s)
       spctl [--enable|--disable|--remove] [--type type] [--path|--requirement|--anchor|--hash|--rule] spec # change rule(s)
       spctl --status | --master-enable | --master-disable # system master switch

开启系统偏好设置设置-安全性与隐私中:允许从以下位置下载的应用

1、APPstore

2、APPstore和被认可的开发者

3、任何来源

命令:spctl --master-disable

原创粉丝点击