Electron

支持跨平台桌面应用程序的框架

Electron(原名为Atom Shell[6])是GitHub开发的一个开源框架[7]它通过使用Node.js(作为后端)和Chromium渲染引擎(作为前端)完成跨平台的桌面GUI应用程序的开发。Electron现已被多个开源Web应用程序用于前端与后端的开发,著名项目包括GitHub的Atom微软Visual Studio Code[8][9]

Electron
原作者GitHub
开发者OpenJS 基金会[1]
首次发布2013年7月15日,​10年前​(2013-07-15[2]
当前版本
  • 26.0.0-beta.3 (2023年6月7日;测试版本)[3]
  • 29.1.5 (2024年3月20日;稳定版本)[4]
编辑维基数据链接
源代码库 编辑维基数据链接
编程语言C++JavaScriptObjective-C++Python以及Objective-C
操作系统WindowsLinux以及macOS
平台IA-32x86-64ARM
许可协议MIT许可证[5]
网站electronjs.org

一个基础的Electron包含三个文件:package.json(元数据)、main.js(代码)和index.html图形用户界面)。框架由Electron可执行文件(Windows中为electron.exe、macOS中为electron.appLinux中为electron)提供。开发者可以自行添加标志、自定义图标、重命名或编辑Electron可执行文件。

历史 编辑

  • 2013年4月11日,Electron以Atom Shell为名起步。[10]
  • 2014年5月6日,Atom以及Atom Shell以MIT许可证开源。[11]
  • 2015年4月17日,Atom Shell改名为Electron。[12]
  • 2016年5月11日,1.0版本发布。[13]
  • 2016年5月20日,允许向Mac应用商店提交软件包。[14][15][16][17]
  • 2016年8月2日,支持Windows商店。[18][19]

使用Electron构建的应用程序 编辑

下表列出了部分使用Electron构建的桌面应用程序,在官网能查到更多。[20]

参见 编辑

参考文献 编辑

  1. ^ Electron joins the OpenJS Foundation. ElectronJS. [2021-04-21]. (原始内容存档于2021-04-21). 
  2. ^ electron/electron. GitHub. [2018-05-08]. (原始内容存档于2017-03-26). 
  3. ^ https://github.com/electron/electron/releases/tag/v26.0.0-beta.3.
  4. ^ Release 29.1.5. 2024年3月20日 [2024年3月22日]. 
  5. ^ electron/LICENSE at master. GitHub. [2017-04-25]. (原始内容存档于2017-05-12) (英语). 
  6. ^ Sawicki, Kevin. Atom Shell is now Electron. Atom. 2015-04-23 [2015-12-02]. (原始内容存档于2015-12-12). 
  7. ^ 存档副本. [2017-02-12]. (原始内容存档于2016-03-24). 
  8. ^ 存档副本. [2017-02-12]. (原始内容存档于2015-08-14). 
  9. ^ James, Mike. Visual Studio Code - Now With Added Extensions. I Programmer. 2015-11-23 [2015-12-02]. (原始内容存档于2015-11-28). 
  10. ^ Zhao, Cheng. Add submodules. · electron/electron@6ef8875. GitHub. 2013-04-11 [2017-03-19]. (原始内容存档于2019-02-16). 
  11. ^ Sobo, Nathan. Atom Is Now Open Source. Atom Blog. 2014-05-06 [2017-03-19]. (原始内容存档于2017-04-24). 
  12. ^ Sawicki, Kevin. Rename to electron by kevinsawicki · Pull Request #1389 · electron/electron. GitHub. 2015-04-08 [2017-03-19]. (原始内容存档于2019-02-16). 
  13. ^ Lord, Jessica. Electron 1.0. Electron blog. 2016-05-11 [2017-03-19]. (原始内容存档于2019-10-16). 
  14. ^ Mac App Store Submission Guide. Electron Documentation. [2017-03-19]. (原始内容存档于2017-11-13). 
  15. ^ Zhao, Cheng. Release electron v0.34.0 · electron/electron. 2015-10-16 [2017-11-25]. (原始内容存档于2019-02-16). OS X: Add experiment build for Mac App Store, read Mac App Store Submission Guide for more. 
  16. ^ Zhao, Cheng. Release electron v1.1.1 · electron/electron. 2016-05-20 [2017-11-25]. (原始内容存档于2019-02-16). OS X: Enable Mac App Store sandboxing without using temporary-exception. #5584, #5601 
  17. ^ Zhao, Cheng. Merge pull request #5584 from electron/sandbox-no-expl · electron/electron@e05f795. 2016-05-18 [2017-11-25]. (原始内容存档于2019-02-16). 
  18. ^ Windows Store Guide. Electron Documentation. [2017-03-19]. (原始内容存档于2017-11-13). 
  19. ^ Rieseberg, Felix. Update Windows Store Language · electron/electron@084110c. 2016-09-17 [2017-05-05]. (原始内容存档于2019-02-16). 
  20. ^ 20.0 20.1 20.2 20.3 20.4 20.5 20.6 Apps. Electron. [2023-06-30]. (原始内容存档于2017-08-09). 
  21. ^ Sawicki, Kevin. Atom Shell is now Electron. Electron. 2015-04-23 [2017-07-15]. (原始内容存档于2019-10-16). 
  22. ^ CrashPlan for Small Business version 6.7. Code42 CrashPlan Release Notes. [2018-04-25]. (原始内容存档于2018-04-26). 
  23. ^ Etcher. [2018-08-28]. (原始内容存档于2018-09-03). 
  24. ^ Haack, Phil. Announcing Git Integration for Atom and GitHub Desktop Beta. The GitHub Blog. 2017-05-16 [2017-07-15]. (原始内容存档于2017-06-05). 
  25. ^ Electron Helper and branding. Techcommunity.microsoft.com. 2017-05-20 [2018-05-08]. (原始内容存档于2018-06-12). 
  26. ^ Building hybrid applications with Electron. Several People Are Coding. [2017-08-12]. (原始内容存档于2019-10-16). 
  27. ^ symphonyoss/SymphonyElectron. GitHub. [2018-09-27]. (原始内容存档于2018-06-27). 
  28. ^ Bright, Peter. Microsoft’s new Code editor is built on Google’s Chromium. Ars Technica. 2015-04-29 [2015-11-18]. (原始内容存档于2015-11-19). 
  29. ^ Open Source project. [2019-05-08]. (原始内容存档于2019-05-10). 
  30. ^ wireapp/wire-desktop. GitHub. [2018-05-08]. (原始内容存档于2017-07-19). 
  31. ^ NW.js. [2021-11-04]. (原始内容存档于2020-06-16). 

外部链接 编辑