Merge pull request #4851 from k0kubun/app-doc-set-name

Document `app.setName()`
This commit is contained in:
Kevin Sawicki 2016-03-22 09:35:49 -07:00
commit baa566adae

View file

@ -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.