Release Notes for v13.2.2
Fixes
- Fixed an issue present in
webView
where theleave-html-full-screen
event is not emitted if the user exits fullscreen withesc
instead of by clicking into thewebView
. #30560 (Also in 14, 15) - Fixed an issue where background color would not be correctly applied to
BrowserViews
on Windows when either thex
ory
coordinate is negative (off-screen). #30540 (Also in 14, 15) - Fixed an issue where toggling
documentEdited
status on macOS withtitlebarStyle: 'hiddenInset'
inadvertently moves the traffic light location. #30603 (Also in 14, 15)
Other Changes
- Security: Backported fix for 1227933. #30583 (Also in 12)
- Security: Backported fix for 1231950. #30584
- Security: Backported fix for 1234764. #30587
- Security: Backported fix for 1234770. #30586
- Security: Backported fix for 1234829. #30585
Electron是什么?
Electron是一个使用 JavaScript、HTML 和 CSS 构建桌面应用程序的框架。 嵌入 Chromium 和 Node.js 到 二进制的 Electron 允许您保持一个 JavaScript 代码代码库并创建 在Windows上运行的跨平台应用 macOS和Linux——不需要本地开发 经验。
Prerequisites
熟悉该文档之前,需要你有Node.js和web开发经验。 如果您需要了解这两个方面的开发知识,我们推荐您使用以下学习资源:
- 来自Mozilla开发社区(Mozilla Developer Network)的web入门教程
- NodeJS官方入门指南
此外,如果您熟悉Chromium进程模型,您将更好了解 Electron 的工作原理。 You can get a brief overview of Chrome architecture with the Chrome comic, which was released alongside Chrome’s launch back in 2008. 尽管Chrome发布十多年了,【Chrome comic】漫画中介绍的核心原理仍然有助于理解Electron。
Electron Fiddle运行实例
Electron Fiddle是由Electron开发并由其维护者支持的沙盒程序。 我们强烈建议将其作为一个学习工具来安装,以便在开发过程中对Electron的api进行实验或对特性进行原型化。
Fiddle 已经完美的集成到我们的帮助文档之中。 当你浏览我们tutorial中的例子的时候,你会发现有个”Open In Electron Fiddler” 按钮在代码示例中。 如果你已经安装了Fiddle, “Open In Electron Fiddle” 按钮回打开一个fiddle.electronjs.org
链接并加载示例。
GitHub – electron/electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS