core
core copied to clipboard
[FEATURE] 兼容 Electron 30
如果你的需求与问题相关,请在下面描述一下(Is your feature request related to a problem? Please describe.)
- https://github.com/opensumi/core/pull/3578
Electron 30 有一些 breaking change,在这个文档中收集一下
https://www.electronjs.org/docs/latest/breaking-changes
Breaking API Changes (29.0)
The ipcRenderer.sendTo()
API has been removed. It should be replaced by setting up a MessageChannel between the renderers.
在升级 electron 29 的话,需要重构下这个 webview 的 sendTo
Breaking API Changes (25.0)
Deprecated: protocol.{register,intercept}{Buffer,String,Stream,File,Http}Protocol
The protocol.register*Protocol
and protocol.intercept*Protocol
methods have been replaced with protocol.handle.