从此
文章
📄文章 #️⃣专题 🌐上网 📺 🛒 📱

Electron 5.0.0 - 基于Chromium和Node.js的桌面应用构建工具

🕗2019-04-26

Electron 的核心是 Chromium、Node.js 与 V8,此版本这三者分别升级到了:Chromium 73.0.3683.119、Node.js 12.0.0  V8 7.3.492.27

更新亮点包括:

Electron 5 继续践行 Promise 化,将 Electron 中基于回调的 API 转换为 Promise。以下 API 在 Electron 5 中已被转换:

systemPreferences 添加或改进了一些功能,用于获取 macOS 系统颜色

添加了函数 process.getProcessMemoryInfo 以获取有关当前进程的内存使用情况统计信息。

为了提高 remote API 的安全性,添加了新的远程事件,以过滤 remote.getBuiltin、remote.getCurrentWindow、remote.getCurrentWebContents 与 <webview> .getWebContents。

BrowserWindow 现在支持在同一个 BrowserWindow 中管理多个 BrowserView

 

完整更新内容查看更新说明:

        https://electronjs.org/releases/stable