Skip to main content

Electron 有什么新功能?

· 5 min read

最近 Electron 上有一些有趣的更新和讨论,以下是总结。

¥There have been some interesting updates and talks given on Electron recently, here's a roundup.


来源

¥Source

Electron 现已与 Chrome 45 同步更新(从 v0.32.0 开始)。其他更新包括……

¥Electron is now up to date with Chrome 45 as of v0.32.0. Other updates include...

更完善的文档

¥Better Documentation

new docs

我们已重构并标准化文档,使其更美观、更易读。社区也贡献了文档的翻译版本,例如日语和韩语。

¥We have restructured and standardized the documentation to look better and read better. There are also community-contributed translations of the documentation, like Japanese and Korean.

相关拉取请求:electron/electron#2028, electron/electron#2533, electron/electron#2557, electron/electron#2709, electron/electron#2725, electron/electron#2698, electron/electron#2649.

¥Related pull requests: electron/electron#2028, electron/electron#2533, electron/electron#2557, electron/electron#2709, electron/electron#2725, electron/electron#2698, electron/electron#2649.

Node.js 4.1.0

v0.33.0 以来,Electron 搭载了 Node.js 4.1.0。

¥Since v0.33.0 Electron ships with Node.js 4.1.0.

相关拉取请求:electron/electron#2817

¥Related pull request: electron/electron#2817.

node-pre-gyp

现在,从源代码构建时,依赖于 node-pre-gyp 的模块可以针对 Electron 进行编译。

¥Modules relying on node-pre-gyp can now be compiled against Electron when building from source.

相关拉取请求:mapbox/node-pre-gyp#175

¥Related pull request: mapbox/node-pre-gyp#175.

ARM 支持

¥ARM Support

Electron 现在提供针对 ARMv7 上的 Linux 的版本。它可以在 Chromebook 和 Raspberry Pi 2 等流行平台上运行。

¥Electron now provides builds for Linux on ARMv7. It runs on popular platforms like Chromebook and Raspberry Pi 2.

相关问题:atom/libchromiumcontent#138, electron/electron#2094, electron/electron#366.

¥Related issues: atom/libchromiumcontent#138, electron/electron#2094, electron/electron#366.

Yosemite 风格的无框窗口

¥Yosemite-style Frameless Window

frameless window

已合并 @jaanus 的一个补丁,与其他内置 OS X 应用一样,该补丁允许在 OS X Yosemite 及更高版本上创建带有系统交通信号灯的无框窗口。

¥A patch by @jaanus has been merged that, like the other built-in OS X apps, allows creating frameless windows with system traffic lights integrated on OS X Yosemite and later.

相关拉取请求:electron/electron#2776

¥Related pull request: electron/electron#2776.

Google 编程夏令营打印支持

¥Google Summer of Code Printing Support

在 Google Summer of Code 之后,我们合并了 @hokein 的补丁,以改进打印支持,并添加了将页面打印为 PDF 文件的功能。

¥After the Google Summer of Code we have merged patches by @hokein to improve printing support, and add the ability to print the page into PDF files.

相关问题:electron/electron#2677, electron/electron#1935, electron/electron#1532, electron/electron#805, electron/electron#1669, electron/electron#1835.

¥Related issues: electron/electron#2677, electron/electron#1935, electron/electron#1532, electron/electron#805, electron/electron#1669, electron/electron#1835.

Atom

Atom 现已升级到运行 Chrome 44 的 Electron v0.30.6atom/atom#8779 正在升级到 v0.33.0

¥Atom has now upgraded to Electron v0.30.6 running Chrome 44. An upgrade to v0.33.0 is in progress on atom/atom#8779.

讨论

¥Talks

GitHub 成员 Amy PalamountainNordic.js 的演讲中对 Electron 进行了精彩的介绍。她还创建了 electron-accelerator 库。

¥GitHubber Amy Palamountain gave a great introduction to Electron in a talk at Nordic.js. She also created the electron-accelerator library.

使用 Electron 构建原生应用,作者:Amy Palomountain

¥Building native applications with Electron by Amy Palomountain

同样来自 Atom 团队的 Ben OgleYAPC 亚洲 大会上发表了一篇 Electron 演讲:

¥Ben Ogle, also on the Atom team, gave an Electron talk at YAPC Asia:

使用 Web 技术构建桌面应用,作者:Ben Ogle

¥Building Desktop Apps with Web Technologies by Ben Ogle

Atom 团队成员 Kevin Sawicki 和其他成员最近在 Bay Are Electron 用户组 聚会上就 Electron 发表了演讲。videos 已发布,以下是一些内容:

¥Atom team member Kevin Sawicki and others gave talks on Electron at the Bay Are Electron User Group meetup recently. The videos have been posted, here are a couple:

Kevin Sawicki 撰写的 Electron 历史

¥The History of Electron by Kevin Sawicki

Ben Gotow 撰写的《让 Web 应用感觉原生》

¥Making a web app feel native by Ben Gotow