move locale doc to command line switches
This commit is contained in:
parent
ca34978e73
commit
1018cdc225
2 changed files with 4 additions and 6 deletions
|
@ -530,12 +530,6 @@ Returns `String` - The current application locale. Possible return values are do
|
|||
|
||||
**Note:** On Windows you have to call it after the `ready` events gets emitted.
|
||||
|
||||
### `app.setLocale(locale)`
|
||||
|
||||
* `locale` String
|
||||
|
||||
Set the locale of the app (must be called before the `ready` event).
|
||||
|
||||
### `app.addRecentDocument(path)` _macOS_ _Windows_
|
||||
|
||||
* `path` String
|
||||
|
|
|
@ -28,6 +28,10 @@ Disables the disk cache for HTTP requests.
|
|||
|
||||
Disable HTTP/2 and SPDY/3.1 protocols.
|
||||
|
||||
## --lang
|
||||
|
||||
Set a custom locale.
|
||||
|
||||
## --inspect=`port` and --inspect-brk=`port`
|
||||
|
||||
Debug-related flags, see the [Debugging the Main Process][debugging-main-process] guide for details.
|
||||
|
|
Loading…
Reference in a new issue