mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
feat: add app.enableSandbox() (#14999)
This commit is contained in:
committed by
Samuel Attard
parent
cc0c6ad14a
commit
5bd6de52e0
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user