From d7fe65b9bddd6ccc34ad3b0d2ae2fb40241849b9 Mon Sep 17 00:00:00 2001 From: "trop[bot]" Date: Sat, 13 Oct 2018 01:19:23 +1100 Subject: [PATCH] docs: app.getLoginItemStatus -> app.getLoginItemSettings (#15113) --- docs/api/app.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/app.md b/docs/api/app.md index 52b0cb2d8d42..b96a4bbb1b6c 100644 --- a/docs/api/app.md +++ b/docs/api/app.md @@ -960,7 +960,7 @@ Returns `Object`: the app as a login item. Defaults to `false`. * `openAsHidden` Boolean (optional) _macOS_ - `true` to open the app as hidden. Defaults to `false`. The user can edit this setting from the System Preferences so - `app.getLoginItemStatus().wasOpenedAsHidden` should be checked when the app + `app.getLoginItemSettings().wasOpenedAsHidden` should be checked when the app is opened to know the current value. This setting is not available on [MAS builds][mas-builds]. * `path` String (optional) _Windows_ - The executable to launch at login. Defaults to `process.execPath`.