Skip to content

Commit

Permalink
docs: Mention how to disable code-signing on macos (#2306)
Browse files Browse the repository at this point in the history
  • Loading branch information
JSzaszvari authored and develar committed Nov 16, 2017
1 parent 4ea9f03 commit 48e461f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/code-signing.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,9 @@ Please note — Gatekeeper only recognises [Apple digital certificates](http://s
Please note – you can select as many certificates, as need. No restrictions on electron-builder side.
All selected certificates will be imported into temporary keychain on CI server.
4. Open context menu and `Export`.

# How to Disable Code Signing During the Build Process on macOS

To disable Code Signing when building for macOS leave all the above vars unset except for `CSC_IDENTITY_AUTO_DISCOVERY` which needs to be set to `false`. This can be done by running `export CSC_IDENTITY_AUTO_DISCOVERY=false`.

Another way — set `mac.identity` to `null`. You can pass adiitional configuration using CLI as well: `-c.mac.identity=null`.

0 comments on commit 48e461f

Please sign in to comment.