From bb955b6202bfbdfb817ee344bacb5c168802ba73 Mon Sep 17 00:00:00 2001 From: Zeke Sikelianos Date: Mon, 26 Sep 2016 11:00:13 -0700 Subject: [PATCH] document lack of MAS support for login item APIs --- docs/api/app.md | 6 ++++++ docs/tutorial/mac-app-store-submission-guide.md | 2 ++ 2 files changed, 8 insertions(+) diff --git a/docs/api/app.md b/docs/api/app.md index 17194a39e83f..8f73d64d0c69 100644 --- a/docs/api/app.md +++ b/docs/api/app.md @@ -822,6 +822,9 @@ Return an Object with the login item settings of the app. app should restore the windows that were open the last time the app was closed. This setting is only supported on macOS. +**Note:** This API has no effect on +[MAS builds](docs/tutorial/mac-app-store-submission-guide.md). + ### `app.setLoginItemSettings(settings)` _macOS_ _Windows_ * `settings` Object @@ -835,6 +838,9 @@ Return an Object with the login item settings of the app. Set the app's login item settings. +**Note:** This API has no effect on +[MAS builds](docs/tutorial/mac-app-store-submission-guide.md). + ### `app.isAccessibilitySupportEnabled()` _macOS_ _Windows_ Returns a `Boolean`, `true` if Chrome's accessibility support is enabled, diff --git a/docs/tutorial/mac-app-store-submission-guide.md b/docs/tutorial/mac-app-store-submission-guide.md index c018e6f9a7a6..4e25959edbdb 100644 --- a/docs/tutorial/mac-app-store-submission-guide.md +++ b/docs/tutorial/mac-app-store-submission-guide.md @@ -161,6 +161,8 @@ and the following behaviors have been changed: * Video capture may not work for some machines. * Certain accessibility features may not work. * Apps will not be aware of DNS changes. +* APIs for launching apps at login are disabled. See +https://github.com/electron/electron/issues/7312#issuecomment-249479237 Also, due to the usage of app sandboxing, the resources which can be accessed by the app are strictly limited; you can read [App Sandboxing][app-sandboxing] for