Merge pull request #4851 from k0kubun/app-doc-set-name
Document `app.setName()`
This commit is contained in:
commit
baa566adae
1 changed files with 6 additions and 0 deletions
|
@ -331,6 +331,12 @@ to the npm modules spec. You should usually also specify a `productName`
|
|||
field, which is your application's full capitalized name, and which will be
|
||||
preferred over `name` by Electron.
|
||||
|
||||
### `app.setName(name)`
|
||||
|
||||
* `name` String
|
||||
|
||||
Overrides the current application's name.
|
||||
|
||||
### `app.getLocale()`
|
||||
|
||||
Returns the current application locale.
|
||||
|
|
Loading…
Reference in a new issue