소스 검색

Add note about disabling Gatekeeper to Running on macOS article (#5702)

* Add note about disabling Gatekeeper to Running on macOS article

* Apply suggestions from code review

Co-authored-by: Hugo Locurcio <[email protected]>
Aaron Franke 3 년 전
부모
커밋
eeb5156ba0
2개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. BIN
      tutorials/export/img/macos_allow_from_anywhere.png
  2. 9 0
      tutorials/export/running_on_mac.rst

BIN
tutorials/export/img/macos_allow_from_anywhere.png


+ 9 - 0
tutorials/export/running_on_mac.rst

@@ -64,6 +64,15 @@ To run this app, you can temporarily override Gatekeeper:
 
 * Enter your password if you're prompted.
 
+Another option is to disable Gatekeeper entirely. Note that this does decrease
+the security of your computer by allowing you to run any software you want.
+To do this, run ``sudo spctl --master-disable`` in the Terminal, enter your
+password, and then the **Anywhere** option will be available:
+
+  .. image:: img/macos_allow_from_anywhere.png
+
+Note that Gatekeeper will re-enable itself when macOS updates.
+
 App is not-signed, executable is linker-signed
 ----------------------------------------------