diff --git a/docs/api/app.md b/docs/api/app.md index 21dca1d1be7d..745b0c431881 100644 --- a/docs/api/app.md +++ b/docs/api/app.md @@ -822,6 +822,9 @@ Returns `Object`: 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 @@ Returns `Object`: 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 `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