Fix docs: app.md setLoginItemSettings

`app.setLoginItemSettings` documented arguments are misleading -- `path` and `args` should be passed in the `settings` object, not as separate params, like the code sample below it or in the test file here: 9250b559f9/spec/api-app-spec.js (L336)
and in the actual C++ function declaration here: f5a75c4e87/atom/browser/browser.h (L104)
This commit is contained in:
Cameron Nokes 2017-06-21 16:24:00 -06:00 committed by GitHub
parent 3abeb6e2bc
commit 3239da37dd

View file

@ -825,7 +825,7 @@ Returns `Object`:
**Note:** This API has no effect on [MAS builds][mas-builds].
### `app.setLoginItemSettings(settings[, path, args])` _macOS_ _Windows_
### `app.setLoginItemSettings(settings)` _macOS_ _Windows_
* `settings` Object
* `openAtLogin` Boolean (optional) - `true` to open the app at login, `false` to remove