From 0953e137263018e0cad12f83e6bd59365e7fa0ca Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Fri, 29 Mar 2024 13:52:01 +0100 Subject: [PATCH] docs: note enabled by default --- docs/api/environment-variables.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api/environment-variables.md b/docs/api/environment-variables.md index b55ebfd2a8157..17547fda4b7f0 100644 --- a/docs/api/environment-variables.md +++ b/docs/api/environment-variables.md @@ -51,7 +51,7 @@ Unsupported options are: --http-parser ``` -The [`nodeOptions` fuse](../tutorial/fuses.md#L27) need to be enabled in order to use this variable. +If the [`nodeOptions` fuse](../tutorial/fuses.md#L27) is disabled, `NODE_OPTIONS` will be ignored. ### `NODE_EXTRA_CA_CERTS` @@ -61,7 +61,7 @@ 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. +If the [`nodeOptions` fuse](../tutorial/fuses.md#L27) is disabled, `NODE_OPTIONS` will be ignored. ### `GOOGLE_API_KEY` @@ -104,7 +104,7 @@ 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. +If the [`runAsNode` fuse](../tutorial/fuses.md#L13) is disabled, `ELECTRON_RUN_AS_NODE` will be ignored. ### `ELECTRON_NO_ATTACH_CONSOLE` _Windows_