commit
800689fc81
1 changed files with 21 additions and 22 deletions
|
@ -6,41 +6,40 @@
|
||||||
[](http://atom-slack.herokuapp.com/)
|
[](http://atom-slack.herokuapp.com/)
|
||||||
|
|
||||||
Electron框架,让您可使用JavaScript, HTML 及 CSS 编写桌面程序。
|
Electron框架,让您可使用JavaScript, HTML 及 CSS 编写桌面程序。
|
||||||
它基于[Node.js](https://nodejs.org/)及[Chromium](http://www.chromium.org)
|
它是基于[Node.js](https://nodejs.org/)和[Chromium](http://www.chromium.org)开发的,
|
||||||
[Atom editor](https://github.com/atom/atom)以及很多其他的[apps](http://electron.atom.io/apps)就是使用Electron编写的。
|
[Atom editor](https://github.com/atom/atom)以及很多其他的[apps](http://electron.atom.io/apps)就是使用Electron编写的。
|
||||||
|
|
||||||
请关注Twitter [@ElectronJS](https://twitter.com/electronjs) 以获得重要通告。
|
请关注Twitter [@ElectronJS](https://twitter.com/electronjs) 以获得重要通告。
|
||||||
|
|
||||||
这个项目将坚持贡献者盟约 [code of conduct](CODE_OF_CONDUCT.md).
|
这个项目将坚持贡献者盟约 [code of conduct](CODE_OF_CONDUCT.md).
|
||||||
我们希望贡献者能遵守贡献者盟约,如果有任何不能接受的行为被发现,请报告至electron@github.com(PS:请用英语)
|
我们希望贡献者能遵守贡献者盟约,如果发现有任何不能接受的行为,请报告至electron@github.com(PS:请用英语)
|
||||||
|
|
||||||
## 下载
|
## 下载
|
||||||
|
|
||||||
预编译的二进制版本及symbols调试版本可以在[releases](https://github.com/electron/electron/releases)找获,
|
可以使用[`npm`](https://docs.npmjs.com/)来安装Electron的预编译二进制版本:
|
||||||
其中包括Linux,Windows和macOS版本。
|
|
||||||
|
|
||||||
你可以使用[`npm`](https://docs.npmjs.com/)来安装预编译版本electron的二进制文件:
|
|
||||||
You can also use [`npm`] to install prebuilt electron binaries.
|
|
||||||
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# 在 $PATH 里全局安装 `electron`
|
# 开发依赖安装
|
||||||
npm install electron -g
|
|
||||||
|
|
||||||
# 安装为开发依赖
|
|
||||||
npm install electron --save-dev
|
npm install electron --save-dev
|
||||||
|
|
||||||
# 淘宝源全局安装(PS:大陆到Electron源的下载速度极不稳定,无法下载成功时可用)
|
# 全局安装
|
||||||
ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/ npm install -g electron
|
npm install electron -g
|
||||||
|
|
||||||
# 淘宝源开发依赖安装(PS:大陆到Electron源的下载速度极不稳定,无法下载成功时可用)
|
|
||||||
ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/ npm install electron --save-dev
|
|
||||||
```
|
```
|
||||||
|
可以在[releases](https://github.com/electron/electron/releases)找到预编译的二进制版本及symbols调试版本,
|
||||||
|
其中包括Linux,Windows和macOS版本。
|
||||||
|
|
||||||
### 其他源
|
### 其他源
|
||||||
|
|
||||||
- [中国](https://npm.taobao.org/mirrors/electron)
|
- [中国](https://npm.taobao.org/mirrors/electron)
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# PS:大陆到Electron源的下载速度极不稳定,无法下载成功时可用
|
||||||
|
# 淘宝源开发依赖安装
|
||||||
|
ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/ npm install electron --save-dev
|
||||||
|
|
||||||
|
# 淘宝源全局安装
|
||||||
|
ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/ npm install electron -g
|
||||||
|
```
|
||||||
|
|
||||||
## 文档
|
## 文档
|
||||||
|
|
||||||
开发指南及API文档位于
|
开发指南及API文档位于
|
||||||
|
@ -62,12 +61,12 @@ ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/ npm install electron --s
|
||||||
|
|
||||||
## 快速开始
|
## 快速开始
|
||||||
|
|
||||||
Clone 并 run 这个 [`electron/electron-quick-start`](https://github.com/electron/electron-quick-start)
|
克隆并运行这个 [`electron/electron-quick-start`](https://github.com/electron/electron-quick-start)
|
||||||
库来看行动的一个最小的 Electron 应用软件。
|
库来体验一个最小的 Electron 程序是怎么样的。
|
||||||
|
|
||||||
## 社区
|
## 社区
|
||||||
|
|
||||||
你可以在此提出问题和互相提供帮助:
|
你可以在以下社区提出问题以及相互交流:
|
||||||
- [`electron`](http://discuss.atom.io/c/electron) Atom论坛上的一类。
|
- [`electron`](http://discuss.atom.io/c/electron) Atom论坛上的一类。
|
||||||
- `#atom-shell` Freenode上的聊天频道
|
- `#atom-shell` Freenode上的聊天频道
|
||||||
- [`Atom`](http://atom-slack.herokuapp.com/) Slack上的频道
|
- [`Atom`](http://atom-slack.herokuapp.com/) Slack上的频道
|
||||||
|
@ -78,7 +77,7 @@ Clone 并 run 这个 [`electron/electron-quick-start`](https://github.com/electr
|
||||||
- [`electron-id`](https://electron-id.slack.com) *(印度尼西亚)*
|
- [`electron-id`](https://electron-id.slack.com) *(印度尼西亚)*
|
||||||
|
|
||||||
查看 [awesome-electron](https://github.com/sindresorhus/awesome-electron)
|
查看 [awesome-electron](https://github.com/sindresorhus/awesome-electron)
|
||||||
来获得被社会维持的应用件例子,工具和资源列表。
|
来获得由社区维护的示例程序,工具和资源列表。
|
||||||
|
|
||||||
## 执照
|
## 执照
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue