Provide an easy way to use a local build of Electron (#12426)
* Provide an easy way to use a local build of Electron For instance from ~/projects/electron/out/D * document ELECTRON_OVERRIDE_DIST_PATH * Make the linter happy * Tweak ELECTRON_OVERRIDE_DIST_PATH docs
This commit is contained in:
parent
cfd91a3b56
commit
2e5cb930de
4 changed files with 31 additions and 8 deletions
|
@ -85,3 +85,13 @@ 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_OVERRIDE_DIST_PATH`
|
||||
|
||||
When running from the `electron` package, this variable tells
|
||||
the `electron` command to use the specified build of Electron instead of
|
||||
the one downloaded by `npm install`. Usage:
|
||||
|
||||
```sh
|
||||
export ELECTRON_OVERRIDE_DIST_PATH=/Users/username/projects/electron/out/D
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue