编辑“︁
Electron
”︁
跳转到导航
跳转到搜索
脚本错误:没有“Mainspace editnotice”这个模块。
警告:
您没有登录。如果您进行任何编辑,您的IP地址会公开展示。如果您
登录
或
创建账号
,您的编辑会以您的用户名署名,此外还有其他益处。
反垃圾检查。
不要
加入这个!
{{NoteTA |G1=IT |G2=FL }} {{Infobox software | name = Electron | screenshot = Electron 20.0.3 screenshot.png | logo = Electron Software Framework Logo.svg | logo size = 128px | author = [[GitHub]] | developer = OpenJS 基金會<ref>{{cite web|url=https://www.electronjs.org/blog/electron-joins-openjsf|title=Electron joins the OpenJS Foundation|website=ElectronJS|accessdate=2021-04-21|archive-date=2021-04-21|dead-url=no|archive-url=https://web.archive.org/web/20210421094453/https://www.electronjs.org/blog/electron-joins-openjsf}}</ref> | released = {{Start date and age|2013|7|15}}<ref>{{cite web|url=https://github.com/electron/electron/releases/tag/v0.1.0|title=electron/electron|website=GitHub|accessdate=2018-05-08|archive-date=2017-03-26|archive-url=https://web.archive.org/web/20170326223151/https://github.com/electron/electron/releases/tag/v0.1.0|dead-url=no}}</ref> | programming language = [[C++]]、[[JavaScript]]、[[Objective-C++]]、[[Python]]以及[[Objective-C]] | operating system = [[Microsoft Windows|Windows]]、[[Linux]]以及[[macOS]] | platform = [[IA-32]]、[[x86-64]]、[[ARM架構|ARM]] | license = [[MIT許可證]]<ref name="license">{{cite web|title=electron/LICENSE at master|url=https://github.com/electron/electron/blob/master/LICENSE|website=GitHub|accessdate=2017-04-25|language=en|archive-date=2017-05-12|archive-url=https://web.archive.org/web/20170512183219/https://github.com/electron/electron/blob/master/LICENSE|dead-url=no}}</ref> | website = {{URL|https://electronjs.org/}} }} '''Electron'''(原名为'''Atom Shell'''<ref>{{cite web |last1=Sawicki |first1=Kevin |date=2015-04-23 |url=http://blog.atom.io/2015/04/23/electron.html |title=Atom Shell is now Electron |work=Atom |accessdate=2015-12-02 |archive-date=2015-12-12 |archive-url=https://web.archive.org/web/20151212050242/http://blog.atom.io/2015/04/23/electron.html |dead-url=yes }}</ref>)是[[GitHub]]开发的一个[[开源]][[软件框架|框架]]。<ref>{{Cite web |url=https://github.com/atom/electron |title=存档副本 |accessdate=2017-02-12 |archive-date=2016-03-24 |archive-url=https://web.archive.org/web/20160324102457/https://github.com/atom/electron |dead-url=no }}</ref>它通过使用[[Node.js]](作为后端)和[[Chromium]]的[[渲染引擎]](作为前端)完成跨平台的桌面[[GUI]][[应用程序]]的开发。Electron现已被多个开源[[Web应用程序]]用于前端与后端的开发,著名项目包括GitHub的[[Atom (文字編輯器)|Atom]]和[[微软]]的[[Visual Studio Code]]。<ref>{{Cite web |url=https://github.com/atom/atom |title=存档副本 |accessdate=2017-02-12 |archive-date=2015-08-14 |archive-url=https://web.archive.org/web/20150814095044/https://github.com/atom/atom |dead-url=no }}</ref><ref>{{cite news |last1=James |first1=Mike |date=2015-11-23 |title=Visual Studio Code - Now With Added Extensions |url=http://www.i-programmer.info/news/90-tools/9202-visual-studio-code-now-with-added-extensions.html |work=I Programmer |accessdate=2015-12-02 |archive-date=2015-11-28 |archive-url=https://web.archive.org/web/20151128134716/http://i-programmer.info/news/90-tools/9202-visual-studio-code-now-with-added-extensions.html |dead-url=yes }}</ref> 一个基础的Electron包含三个文件:<code>package.json</code>(元数据)、<code>main.js</code>(代码)和<code>index.html</code>([[图形用户界面]])。框架由Electron可执行文件([[Windows]]中为<code>electron.exe、</code>[[macOS]]中为<code>electron.app</code>、[[Linux]]中为<code>electron</code>)提供。开发者可以自行添加标志、自定义图标、重命名或编辑Electron可执行文件。 == 历史 == * 2013年4月11日,Electron以Atom Shell为名起步。<ref>{{Cite web |url = https://github.com/electron/electron/commit/6ef8875 |title = Add submodules. · electron/electron@6ef8875 |first = Cheng |last = Zhao |date = 2013-04-11 |website = GitHub |access-date = 2017-03-19 |archive-date = 2019-02-16 |archive-url = https://web.archive.org/web/20190216004306/https://github.com/electron/electron/commit/6ef8875 |dead-url = no }}</ref> * 2014年5月6日,Atom以及Atom Shell以[[MIT许可证]]开源。<ref>{{Cite web |url = http://blog.atom.io/2014/05/06/atom-is-now-open-source.html |title = Atom Is Now Open Source |first = Nathan |last = Sobo |date = 2014-05-06 |website = Atom Blog |access-date = 2017-03-19 |archive-date = 2017-04-24 |archive-url = https://web.archive.org/web/20170424022832/http://blog.atom.io/2014/05/06/atom-is-now-open-source.html |dead-url = yes }}</ref> * 2015年4月17日,Atom Shell改名为Electron。<ref>{{Cite web |url = https://github.com/electron/electron/pull/1389 |title = Rename to electron by kevinsawicki · Pull Request #1389 · electron/electron |first = Kevin |last = Sawicki |date = 2015-04-08 |website = GitHub |access-date = 2017-03-19 |archive-date = 2019-02-16 |archive-url = https://web.archive.org/web/20190216004306/https://github.com/electron/electron/pull/1389 |dead-url = no }}</ref> * 2016年5月11日,1.0版本发布。<ref>{{Cite news |url = https://electronjs.org/blog/2016/05/11/electron-1-0 |title = Electron 1.0 |first = Jessica |last = Lord |date = 2016-05-11 |website = Electron blog |access-date = 2017-03-19 |archive-date = 2019-10-16 |archive-url = https://web.archive.org/web/20191016124312/https://electronjs.org/blog/electron-1-0 |dead-url = yes }}</ref> * 2016年5月20日,允许向Mac应用商店提交软件包。<ref>{{Cite web |url = https://electronjs.org/docs/tutorial/mac-app-store-submission-guide/ |title = Mac App Store Submission Guide |website = Electron Documentation |access-date = 2017-03-19 |archive-date = 2017-11-13 |archive-url = https://web.archive.org/web/20171113225046/http://electronjs.org/docs/tutorial/mac-app-store-submission-guide |dead-url = yes }}</ref><ref>{{cite web |url = https://github.com/electron/electron/releases/tag/v0.34.0 |title = Release electron v0.34.0 · electron/electron |first = Cheng |last = Zhao |date = 2015-10-16 |quote = OS X: Add experiment build for Mac App Store, read Mac App Store Submission Guide for more. |accessdate = 2017-11-25 |archive-date = 2019-02-16 |archive-url = https://web.archive.org/web/20190216004306/https://github.com/electron/electron/releases/tag/v0.34.0 |dead-url = no }}</ref><ref>{{cite web |url = https://github.com/electron/electron/releases/tag/v1.1.1 |title = Release electron v1.1.1 · electron/electron |first = Cheng |last = Zhao |date = 2016-05-20 |quote = OS X: Enable Mac App Store sandboxing without using temporary-exception. #5584, #5601 |accessdate = 2017-11-25 |archive-date = 2019-02-16 |archive-url = https://web.archive.org/web/20190216004306/https://github.com/electron/electron/releases/tag/v1.1.1 |dead-url = no }}</ref><ref>{{cite web |url = https://github.com/electron/electron/commit/e05f795 |title = Merge pull request #5584 from electron/sandbox-no-expl · electron/electron@e05f795 |first = Cheng |last = Zhao |date = 2016-05-18 |accessdate = 2017-11-25 |archive-date = 2019-02-16 |archive-url = https://web.archive.org/web/20190216004306/https://github.com/electron/electron/commit/e05f795 |dead-url = no }}</ref> * 2016年8月2日,支持Windows商店。<ref>{{Cite web |url = https://electronjs.org/docs/tutorial/windows-store-guide/ |title = Windows Store Guide |website = Electron Documentation |access-date = 2017-03-19 |archive-date = 2017-11-13 |archive-url = https://web.archive.org/web/20171113224917/http://electronjs.org/docs/tutorial/windows-store-guide |dead-url = yes }}</ref><ref>{{cite web |url = https://github.com/electron/electron/commit/084110c |title = Update Windows Store Language · electron/electron@084110c |first = Felix |last = Rieseberg |date = 2016-09-17 |access-date = 2017-05-05 |archive-date = 2019-02-16 |archive-url = https://web.archive.org/web/20190216004306/https://github.com/electron/electron/commit/084110c |dead-url = no }}</ref> == 使用Electron构建的应用程序 == 下表列出了部分使用Electron构建的桌面应用程序,在官网能查到更多。<ref name="AP1">{{cite web|title=Apps|url=https://www.electronjs.org/apps/|url-status=live|archive-url=https://web.archive.org/web/20170809152751/http://electronjs.org/apps|archive-date=2017-08-09|accessdate=2023-06-30|work=Electron|dead-url=}}</ref> * [[Atom (文字編輯器)|Atom]]<ref name="electron-blog">{{cite web |last1=Sawicki |first1=Kevin |title=Atom Shell is now Electron |url=https://electronjs.org/blog/2015/04/23/electron |work=Electron |date=2015-04-23 |accessdate=2017-07-15 |archive-date=2019-10-16 |archive-url=https://web.archive.org/web/20191016124310/https://electronjs.org/blog/electron |dead-url=yes }}</ref> * {{tsl|en|Basecamp (software)|Basecamp 3}}<ref name="AP1" /> * {{tsl|en|Bitwarden|BitWarden}} * {{tsl|en|CrashPlan}}<ref>{{cite web |title=CrashPlan for Small Business version 6.7 |url=https://support.code42.com/Release_Notes/CrashPlan_for_Small_Business_version_6.7 |work=Code42 CrashPlan Release Notes |accessdate=2018-04-25 |archive-date=2018-04-26 |archive-url=https://web.archive.org/web/20180426075730/https://support.code42.com/Release_Notes/CrashPlan_for_Small_Business_version_6.7 |dead-url=yes }}</ref> * [[Cryptocat]]<ref name="AP1" /> * [[Discord]] * [[Emby|Emby Theater]] * [[Etcher]]<ref name="etcher-github">{{cite web | title=Etcher | url=https://github.com/resin-io/etcher | accessdate=2018-08-28 | archive-date=2018-09-03 | archive-url=https://web.archive.org/web/20180903001146/https://github.com/resin-io/etcher/ | dead-url=no }}</ref> * [[GitHub|GitHub客户端]]<ref name="github-blog">{{cite web |last1=Haack |first1=Phil |title=Announcing Git Integration for Atom and GitHub Desktop Beta |url=https://github.com/blog/2362-announcing-git-integration-for-atom-and-github-desktop-beta |work=The GitHub Blog |date=2017-05-16 |accessdate=2017-07-15 |archive-date=2017-06-05 |archive-url=https://web.archive.org/web/20170605012623/https://github.com/blog/2362-announcing-git-integration-for-atom-and-github-desktop-beta |dead-url=no }}</ref> * [[Keybase]] * [[Light Table]] * [[Microsoft Teams]]<ref name="ms-teams">{{cite web|url=https://techcommunity.microsoft.com/t5/Microsoft-Teams/Electron-Helper-and-branding/td-p/71595|title=Electron Helper and branding|date=2017-05-20|website=Techcommunity.microsoft.com|accessdate=2018-05-08|archive-date=2018-06-12|archive-url=https://web.archive.org/web/20180612142603/https://techcommunity.microsoft.com/t5/Microsoft-Teams/Electron-Helper-and-branding/td-p/71595|dead-url=yes}}</ref> * [[MongoDB#管理與圖形化介面|MongoDB Compass]]<ref name="AP1" /> * [[腾讯QQ|QQNT]] * Shift<ref name="AP1" /> * [[Signal (軟件)|Signal]] * [[Skype]]<ref name="AP1" /> * [[Slack]]<ref name="slack">{{cite web |title=Building hybrid applications with Electron |url=https://slack.engineering/building-hybrid-applications-with-electron-dc67686de5fb |work=Several People Are Coding |accessdate=2017-08-12 |archive-date=2019-10-16 |archive-url=https://web.archive.org/web/20191016124311/https://slack.engineering/building-hybrid-applications-with-electron-dc67686de5fb?gi=b2a5127226ea |dead-url=no }}</ref> * {{tsl|en|Symphony Communication|Symphony Chat}}<ref name="SymphonyElectron-github">{{cite web|url=https://github.com/symphonyoss/SymphonyElectron|title=symphonyoss/SymphonyElectron|website=GitHub|accessdate=2018-09-27|archive-date=2018-06-27|archive-url=https://web.archive.org/web/20180627101537/https://github.com/symphonyoss/SymphonyElectron|dead-url=no}}</ref> * [[Twitch.tv]] * [[Unity (游戏引擎)|Unity Hub]] * [[Visual Studio Code]]<ref name="ars-electron">{{cite web |last1=Bright |first1=Peter |title=Microsoft’s new Code editor is built on Google’s Chromium |url=https://arstechnica.com/information-technology/2015/04/microsofts-new-code-editor-is-built-on-googles-chromium/ |work=[[Ars Technica]] |date=2015-04-29 |accessdate=2015-11-18 |archive-date=2015-11-19 |archive-url=https://web.archive.org/web/20151119061333/http://arstechnica.com/information-technology/2015/04/microsofts-new-code-editor-is-built-on-googles-chromium/ |dead-url=no }}</ref><ref name="gh-source">{{cite web|url=https://github.com/Microsoft/vscode|title=Open Source project|accessdate=2019-05-08|archive-date=2019-05-10|archive-url=https://web.archive.org/web/20190510103706/https://github.com/microsoft/vscode|dead-url=no}}</ref> * {{tsl|en|WebTorrent}}<ref name="AP1" /> * [[Wire]]<ref name="twire-github">{{cite web|url=https://github.com/wireapp/wire-desktop|title=wireapp/wire-desktop|website=GitHub|accessdate=2018-05-08|archive-date=2017-07-19|archive-url=https://web.archive.org/web/20170719141659/https://github.com/wireapp/wire-desktop|dead-url=no}}</ref> * [[Yammer]] ==参见== {{wikibooks|Electron|使用Electron快速开始项目}} *[[Adobe PhoneGap]] *[[Chromium嵌入式框架]](CEF) *[[HTML应用程序]] *[[Blink]] * NW.js (与 Electron 类似的基于 Node.js 与 Chromium 的软件框架<ref name="nw-js">{{cite web | title=NW.js | url=https://nwjs.io/ | accessdate=2021-11-04 | archive-date=2020-06-16 | archive-url=https://web.archive.org/web/20200616213419/https://nwjs.io/ }}</ref>) *[[XULRunner]] *[[DotNetBrowser]] == 参考文献 == {{reflist}} == 外部链接 == * [https://www.electronjs.org/ 官方网站] {{Wayback|url=https://www.electronjs.org/ |date=20220509124521 }} * {{GitHub|atom/electron}} [[Category:GitHub]] [[Category:使用MIT许可证的软件]] [[分類:軟體框架]]
摘要:
请注意,所有对Local Chinese Wikipedia的贡献均可能会被其他贡献者编辑、修改或删除。如果您不希望您的文字作品被随意编辑,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源(详情请见
Project:著作权
)。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
页面
讨论
大陆简体
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
查看
阅读
编辑
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息