From ad2627b05ab9dbde337a6b12b4f022c0ddc60612 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 22 Dec 2016 09:22:04 -0800 Subject: [PATCH] Move variables from development to production --- docs/api/environment-variables.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/docs/api/environment-variables.md b/docs/api/environment-variables.md index a840eec1d175..83a233e0857a 100644 --- a/docs/api/environment-variables.md +++ b/docs/api/environment-variables.md @@ -46,14 +46,23 @@ geocoding requests. To enable geocoding requests, visit [this page](https://cons Disables ASAR support. This variable is only supported in forked child processes and spawned child processes that set `ELECTRON_RUN_AS_NODE`. +### `ELECTRON_RUN_AS_NODE` + +Starts the process as a normal Node.js process. + +### `ELECTRON_NO_ATTACH_CONSOLE` _Windows_ + +Don't attach to the current console session. + +### `ELECTRON_FORCE_WINDOW_MENU_BAR` _Linux_ + +Don't use the global menu bar on Linux. + ## Development Variables The following environment variables are intended primarily for development and debugging purposes. -### `ELECTRON_RUN_AS_NODE` - -Starts the process as a normal Node.js process. ### `ELECTRON_ENABLE_LOGGING` @@ -76,11 +85,3 @@ This environment variable will not work if the `crashReporter` is started. Shows the Windows's crash dialog when Electron crashes. This environment variable will not work if the `crashReporter` is started. - -### `ELECTRON_NO_ATTACH_CONSOLE` _Windows_ - -Don't attach to the current console session. - -### `ELECTRON_FORCE_WINDOW_MENU_BAR` _Linux_ - -Don't use the global menu bar on Linux.