当前位置: 首页 > 文档资料 > Electron 中文文档 >

Electron技术支持

优质
小牛编辑
184浏览
2023-12-01

寻找技术支持

如果你有安全方面的问题,请阅读 安全文档。

如果你想获得编程方面的帮助、问题的答案亦或是想要加入Electron的开发者大家庭,您可以参考以下链接:

  • electron 各种 Atom 论坛
  • #atom-shell Freenode上的频道
  • #electron Atom's Slack上的频道
  • electron-ru (俄语版)
  • electron-br (巴西葡语版)
  • electron-kr (韩语版)
  • electron-jp (日语版)
  • electron-tr (土耳其语版)
  • electron-id (印尼语版)
  • electron-pl (波兰语版)

如果你有意为加入Electron的开发,可参阅贡献文档

如果你在Electron的支持版中发现漏洞,请在问题追踪中提交你发现的漏洞。

awesome-electron是一个社区维护的示例程序列表。

Finding Support

If you have a security concern, please see the security document.

If you're looking for programming help, for answers to questions, or to join in discussion with other developers who use Electron, you can interact with the community in these locations:

  • electron category on the Atom forums
  • #atom-shell channel on Freenode
  • #electron channel on Atom's Slack
  • electron-ru (Russian)
  • electron-br (Brazilian Portuguese)
  • electron-kr (Korean)
  • electron-jp (Japanese)
  • electron-tr (Turkish)
  • electron-id (Indonesia)
  • electron-pl (Poland)

If you'd like to contribute to Electron, see the contributing document.

If you've found a bug in a supported version of Electron, please report it with the issue tracker.

awesome-electron is a community-maintained list of useful example apps, tools and resources.

支持版

The latest three stable major versions are supported by the Electron team. For example, if the latest release is 6.x.y, then the 5.x.y as well as the 4.x.y series are supported.

The latest stable release unilaterally receives all fixes from master, and the version prior to that receives the vast majority of those fixes as time and bandwidth warrants. The oldest supported release line will receive only security fixes directly.

All supported release lines will accept external pull requests to backport fixes previously merged to master, though this may be on a case-by-case basis for some older supported lines. All contested decisions around release line backports will be resolved by the Releases Working Group as an agenda item at their weekly meeting the week the backport PR is raised.

Supported Versions

The latest three stable major versions are supported by the Electron team. For example, if the latest release is 6.x.y, then the 5.x.y as well as the 4.x.y series are supported.

The latest stable release unilaterally receives all fixes from master, and the version prior to that receives the vast majority of those fixes as time and bandwidth warrants. The oldest supported release line will receive only security fixes directly.

All supported release lines will accept external pull requests to backport fixes previously merged to master, though this may be on a case-by-case basis for some older supported lines. All contested decisions around release line backports will be resolved by the Releases Working Group as an agenda item at their weekly meeting the week the backport PR is raised.

当前支持的版本

  • 6.x.y
  • 5.x.y
  • 4.x.y

Currently supported versions

  • 6.x.y
  • 5.x.y
  • 4.x.y

End-of-life

当一个发行分支达到了其支持周期的末尾,该序列将会在NPM中弃用,且会发布一个最终的“结束支持”版本。 这个版本将会添加一个警告以通知正在使用一个不受支持的Electron版本。

这些步骤是用于帮助应用开发者了解他们使用的分支不受支持,而不会过分打扰最终用户。

如果一个应用有特殊情况并需要保持使用一个不受支持的Electron版本,开发者可以通过忽略来自应用的package.json devDependencies的最终版本以关闭结束支持警告。 For example, since the 1-6-x series ended with an end-of-support 1.6.18 release, developers could choose to stay in the 1-6-x series without warnings with devDependency of "electron": 1.6.0 - 1.6.17.

End-of-life

When a release branch reaches the end of its support cycle, the series will be deprecated in NPM and a final end-of-support release will be made. This release will add a warning to inform that an unsupported version of Electron is in use.

These steps are to help app developers learn when a branch they're using becomes unsupported, but without being excessively intrusive to end users.

If an application has exceptional circumstances and needs to stay on an unsupported series of Electron, developers can silence the end-of-support warning by omitting the final release from the app's package.json devDependencies. For example, since the 1-6-x series ended with an end-of-support 1.6.18 release, developers could choose to stay in the 1-6-x series without warnings with devDependency of "electron": 1.6.0 - 1.6.17.

支持平台

目前 Electron 支持以下平台:

Supported Platforms

Following platforms are supported by Electron:

macOS

对 macOS 仅提供64位版本,并且只支持 macOS 10.10 (Yosemite) 以及更高版本。

macOS

Only 64bit binaries are provided for macOS, and the minimum macOS version supported is macOS 10.10 (Yosemite).

Windows

仅支持 Windows 7 或更高版本, 旧版操作系统已不再支持(并且无法运行).

为Windows系统提供ia32 (x86) 和 x64 (amd64) 两种二进制版本。 如果在ARM版Windows上使用Electron的话调用ia32库就行了。

Windows

Windows 7 and later are supported, older operating systems are not supported (and do not work).

Both ia32 (x86) and x64 (amd64) binaries are provided for Windows. Running Electron apps on Windows for ARM devices is possible by using the ia32 binary.

Linux

Electron 的 ia32 (i686) 和 x64 (amd64) 预编译版本均是在Ubuntu 12.04 下编译的,arm 版的二进制文件是在 ARM v7(硬浮点 ABI 与 Debian Wheezy 版本的 NEON)下完成的。

在Electron 2.0的发布之前,Electron 也会 继续用简单的arm后缀释放armv7l二进制文件。 两个二进制文件是相同的。

预编译版本是否能够正常运行,取决于其中是否包含了编译平台的链接库。所以只有 Ubuntu 12.04 是可以保证能正常运行的,并且以下平台也被证实可以正常运行 Electron 的预编译版本:

  • Ubuntu 12.04 或更高版本
  • Fedora 21
  • Debian 8

Linux

The prebuilt ia32 (i686) and x64 (amd64) binaries of Electron are built on Ubuntu 12.04, the armv7l binary is built against ARM v7 with hard-float ABI and NEON for Debian Wheezy.

Until the release of Electron 2.0, Electron will also continue to release the armv7l binary with a simple arm suffix. Both binaries are identical.

Whether the prebuilt binary can run on a distribution depends on whether the distribution includes the libraries that Electron is linked to on the building platform, so only Ubuntu 12.04 is guaranteed to work, but following platforms are also verified to be able to run the prebuilt binaries of Electron:

  • Ubuntu 12.04 and newer
  • Fedora 21
  • Debian 8