feat: add app.enableSandbox() (#14999)

This commit is contained in:
Milan Burda 2018-10-10 06:32:09 +02:00 committed by Samuel Attard
parent cc0c6ad14a
commit 5bd6de52e0
5 changed files with 99 additions and 22 deletions

View file

@ -1089,6 +1089,12 @@ correctly.
**Note:** This will not affect `process.argv`.
### `app.enableSandbox()` _Experimental_ _macOS_ _Windows_
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.