core icon indicating copy to clipboard operation
core copied to clipboard

[FEATURE] 兼容 Electron 30

Open bytemain opened this issue 10 months ago • 0 comments

如果你的需求与问题相关,请在下面描述一下(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

CleanShot 2024-04-19 at 13 01 08@2x

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.

bytemain avatar Apr 23 '24 02:04 bytemain