Browse Source

caffeinate: add Chinese translation

wizarot 6 years ago
parent
commit
d17663914a
1 changed files with 15 additions and 0 deletions
  1. 15 0
      pages.zh/osx/caffeinate.md

+ 15 - 0
pages.zh/osx/caffeinate.md

@@ -0,0 +1,15 @@
+# caffeinate
+
+> 防止 Mac 进入休眠模式.
+
+- 防止进入休眠模式 , 1小时内(3600秒):
+
+`caffeinate -u -t {{3600}}`
+
+- 在指定命令执行完前,禁止进入休眠:
+
+`caffeinate -s {{命令}}`
+
+- 在你按 Ctrl-C 之前禁止进入休眠模式:
+
+`caffeinate -i`