add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

21
pages.zh/osx/spctl.md Normal file
View File

@@ -0,0 +1,21 @@
# spctl
> 管理安全评估策略子系统。
> 用于管理 macOS 中的 Gatekeeper。
> 更多信息:<https://keith.github.io/xcode-man-pages/spctl.8.html>。
- 关闭 Gatekeeper
`spctl --master-disable`
- 添加规则以允许应用程序运行(规则标签是可选的):
`spctl --add --label {{rule_name}} {{path/to/file}}`
- 打开 Gatekeeper
`spctl --master-enable`
- 列出系统上的所有规则:
`spctl --list`