electron-toolkit icon indicating copy to clipboard operation
electron-toolkit copied to clipboard

当开启ESM并且关闭contextIsolation时electronAPI的内容是无效的

Open haohetao opened this issue 7 months ago • 0 comments

Describe the bug

··· window.electron = electronAPI console.log(electronAPI) ··· Image

Electron-Toolkit Version

3.0.0

Electron Version

34.2.0

Validations

问题原因分析: https://github.com/electron/electron/issues/46142 https://blog.hetao.me/2025/03/19/electron%e4%bd%bf%e7%94%a8esm%e7%9a%84%e5%9d%91/

haohetao avatar Mar 19 '25 10:03 haohetao