feat: only allow bundled preload scripts (#17308)
This commit is contained in:
parent
3d307e5610
commit
8cf15cc931
11 changed files with 79 additions and 3 deletions
|
@ -81,6 +81,10 @@ powerMonitor.querySystemIdleTime(callback)
|
|||
const idleTime = getSystemIdleTime()
|
||||
```
|
||||
|
||||
## 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).
|
||||
|
||||
# Planned Breaking API Changes (5.0)
|
||||
|
||||
## `new BrowserWindow({ webPreferences })`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue