Skip to content

Commit

Permalink
docs: link to fuses from env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Mar 26, 2024
1 parent 72eea61 commit 1d6496e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/api/environment-variables.md
Expand Up @@ -51,6 +51,8 @@ Unsupported options are:
--http-parser
```

The [`nodeOptions` fuse](../tutorial/fuses.md#L27) need to be enabled in order to use this variable.

### `NODE_EXTRA_CA_CERTS`

See [Node.js cli documentation](https://github.com/nodejs/node/blob/main/doc/api/cli.md#node_extra_ca_certsfile) for details.
Expand All @@ -59,6 +61,8 @@ See [Node.js cli documentation](https://github.com/nodejs/node/blob/main/doc/api
export NODE_EXTRA_CA_CERTS=/path/to/cert.pem
```

The [`nodeOptions` fuse](../tutorial/fuses.md#L27) need to be enabled in order to use this variable.

### `GOOGLE_API_KEY`

Geolocation support in Electron requires the use of Google Cloud Platform's
Expand Down Expand Up @@ -100,6 +104,8 @@ you would when running the normal Node.js executable, with the exception of the
These flags are disabled owing to the fact that Electron uses BoringSSL instead of OpenSSL when building Node.js'
`crypto` module, and so will not work as designed.

The [`runAsNode` fuse](../tutorial/fuses.md#L13) need to be enabled in order to use this variable.

### `ELECTRON_NO_ATTACH_CONSOLE` _Windows_

Don't attach to the current console session.
Expand Down

0 comments on commit 1d6496e

Please sign in to comment.