网站故障
上周,electronjs.org 网站宕机了几分钟。如果你受到了这些短暂中断的影响,对于由此造成的不便,我们深表歉意。经过今天的一些调查,我们诊断出了根本原因并部署了 fix。
¥Last week the electronjs.org site had a few minutes of downtime. If you were affected by these brief outages, we're sorry for the inconvenience. After a bit of investigation today, we've diagnosed the root cause and have deployed a fix.
为了防止将来再次出现此类停机,我们已在应用上启用了 Heroku 阈值警报。每当我们的 Web 服务器累积的失败请求或响应速度超过一定阈值时,我们的团队都会收到通知,以便我们快速解决问题。
¥To prevent this kind of downtime in the future, we've enabled Heroku threshold alerts on our app. Any time our web server accumulates failed requests or slow responses beyond a certain threshold, our team will be notified so we can address the problem quickly.
所有语言的离线文档
¥Offline Docs in Every Language
下次你在飞机上或地下咖啡店开发 Electron 应用时,不妨准备一份文档副本以供离线参考。幸运的是,Electron 的文档以 Markdown 文件的形式提供,支持 20 多种语言。
¥The next time you're developing an Electron app on a plane or in a subterranean coffee shop, you might want to have a copy of the docs for offline reference. Fortunately, Electron's docs are available as Markdown files in over 20 languages.
git clone https://github.com/electron/electron-i18n
ls electron-i18n/content
带有图形用户界面的离线文档
¥Offline Docs with a GUI
devdocs.io/electron 是一个便捷的网站,存储文档以供离线使用,不仅适用于 Electron,还适用于许多其他项目,例如 JavaScript、TypeScript、Node.js、React、Angular 等等。当然,Electron 也有一个应用可以实现这一点。在 Electron 网站上查看 devdocs-app。
¥devdocs.io/electron is a handy website that stores docs for offline use, not just for Electron but many other projects like JavaScript, TypeScript, Node.js, React, Angular, and many others. And of course there's an Electron app for that, too. Check out devdocs-app on the Electron site.
如果你喜欢不使用鼠标或触控板安装应用,请尝试 Electron Forge 的 install
命令:
¥If you like to install apps without using your mouse or trackpad, give
Electron Forge's install
command a try:
npx electron-forge install egoist/devdocs-app