refactor: move extension APIs to session.extensions (#45597)
refactor: move extensions to session.extensions
This commit is contained in:
parent
a63f6143ea
commit
e3f61b465d
14 changed files with 508 additions and 205 deletions
|
@ -14,7 +14,7 @@ but it also happens to support some other extension capabilities.
|
|||
|
||||
Electron only supports loading unpacked extensions (i.e., `.crx` files do not
|
||||
work). Extensions are installed per-`session`. To load an extension, call
|
||||
[`ses.loadExtension`](session.md#sesloadextensionpath-options):
|
||||
[`ses.extensions.loadExtension`](extensions-api.md#extensionsloadextensionpath-options):
|
||||
|
||||
```js
|
||||
const { session } = require('electron')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue