feat: enable mixed-sandbox mode by default (#15894)
This commit is contained in:
parent
1918e76913
commit
92b9525cfd
12 changed files with 15 additions and 91 deletions
|
@ -1225,12 +1225,6 @@ Enables full sandbox mode on the app.
|
|||
|
||||
This method can only be called before app is ready.
|
||||
|
||||
### `app.enableMixedSandbox()` _Experimental_ _macOS_ _Windows_
|
||||
|
||||
Enables mixed sandbox mode on the app.
|
||||
|
||||
This method can only be called before app is ready.
|
||||
|
||||
### `app.isInApplicationsFolder()` _macOS_
|
||||
|
||||
Returns `Boolean` - Whether the application is currently running from the
|
||||
|
|
|
@ -60,10 +60,6 @@ It is important to note that this option alone won't enable the OS-enforced sand
|
|||
`--enable-sandbox` command-line argument must be passed to electron, which will
|
||||
force `sandbox: true` for all `BrowserWindow` instances.
|
||||
|
||||
To enable OS-enforced sandbox on `BrowserWindow` or `webview` process with `sandbox:true` without causing
|
||||
entire app to be in sandbox, `--enable-mixed-sandbox` command-line argument must be passed to electron.
|
||||
This option is currently only supported on macOS and Windows.
|
||||
|
||||
```js
|
||||
let win
|
||||
app.on('ready', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue