chore: remove deprecated app.enableMixedSandbox() (#17894)

This commit is contained in:
Milan Burda 2019-04-24 06:07:40 +02:00 committed by Shelley Vohr
parent 9b779657fb
commit 253d049ac9
3 changed files with 15 additions and 4 deletions

View file

@ -81,6 +81,15 @@ powerMonitor.querySystemIdleTime(callback)
const idleTime = getSystemIdleTime()
```
## `app.enableMixedSandbox`
```js
// Deprecated
app.enableMixedSandbox()
```
Mixed-sandbox mode is now enabled by default.
## Preload scripts outside of app path are not allowed
For security reasons, preload scripts can only be loaded from a subpath of the [app path](app.md#appgetapppath).