Merge pull request #7353 from electron/no-login-item-apis-on-mas

document lack of MAS support for login item APIs
This commit is contained in:
Cheng Zhao 2016-09-28 19:20:32 +08:00 committed by GitHub
commit 53d4c36332
2 changed files with 8 additions and 0 deletions

View file

@ -822,6 +822,9 @@ Returns `Object`:
app should restore the windows that were open the last time the app was app should restore the windows that were open the last time the app was
closed. This setting is only supported on macOS. 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_ ### `app.setLoginItemSettings(settings)` _macOS_ _Windows_
* `settings` Object * `settings` Object
@ -835,6 +838,9 @@ Returns `Object`:
Set the app's login item settings. 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_ ### `app.isAccessibilitySupportEnabled()` _macOS_ _Windows_
Returns `Boolean` - `true` if Chrome's accessibility support is enabled, Returns `Boolean` - `true` if Chrome's accessibility support is enabled,

View file

@ -161,6 +161,8 @@ and the following behaviors have been changed:
* Video capture may not work for some machines. * Video capture may not work for some machines.
* Certain accessibility features may not work. * Certain accessibility features may not work.
* Apps will not be aware of DNS changes. * 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 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 the app are strictly limited; you can read [App Sandboxing][app-sandboxing] for