• 介紹
  • 1. Electron 常见问题
  • 2. 支持平台
  • 3. 分发应用
  • 4. 提交应用到 Mac App Store
  • 5. 打包应用
  • 6. 使用 Node 原生模块
  • 7. 主进程调试
  • 8. 使用 Selenium 和 WebDriver
  • 9. 使用开发人员工具扩展
  • 10. 使用 Pepper Flash 插件
  • 11. 使用 Widevine CDM 插件
  • 12. 快速入门
  • 13. 桌面环境集成
  • 14. 在线/离线事件探测
  • 15. 简介
  • 16. 进程对象
  • 17. 支持的 Chrome 命令行开关
  • 18. 环境变量
  • 19. `File` 对象
  • 20. `<webview>` 标签
  • 21. `window.open` 函数
  • 22. app
  • 23. autoUpdater
  • 24. BrowserWindow
  • 25. contentTracing
  • 26. dialog
  • 27. globalShortcut
  • 28. ipcMain
  • 29. Menu
  • 30. MenuItem
  • 31. powerMonitor
  • 32. powerSaveBlocker
  • 33. protocol
  • 34. session
  • 35. webContents
  • 36. Tray
  • 37. desktopCapturer
  • 38. ipcRenderer
  • 39. remote
  • 40. webFrame
  • 41. clipboard
  • 42. crashReporter
  • 43. nativeImage
  • 44. screen
  • 45. shell
  • 46. 代码规范
  • 47. 源码目录结构
  • 48. 与 NW.js(原 node-webkit)在技术上的差异
  • 49. 构建系统概览
  • 50. 构建步骤(Mac)
  • 51. 构建步骤(Windows)
  • 52. 构建步骤(Linux)
  • 53. 在调试中使用 Symbol Server
  • 本書使用 GitBook 釋出

常见问题

常见问题

  • Electron 常见问题

向导

  • 支持平台
  • 分发应用
  • 提交应用到 Mac App Store
  • 打包应用
  • 使用 Node 原生模块
  • 主进程调试
  • 使用 Selenium 和 WebDriver
  • 使用开发人员工具扩展
  • 使用 Pepper Flash 插件
  • 使用 Widevine CDM 插件

教程

  • 快速入门
  • 桌面环境集成
  • 在线/离线事件探测

API文档

  • 简介
  • 进程对象
  • 支持的 Chrome 命令行开关
  • 环境变量

自定义的 DOM 元素:

  • File 对象
  • <webview> 标签
  • window.open 函数

在主进程内可用的模块:

  • app
  • autoUpdater
  • BrowserWindow
  • contentTracing
  • dialog
  • globalShortcut
  • ipcMain
  • Menu
  • MenuItem
  • powerMonitor
  • powerSaveBlocker
  • protocol
  • session
  • webContents
  • Tray

在渲染进程(网页)内可用的模块:

  • desktopCapturer
  • ipcRenderer
  • remote
  • webFrame

在两种进程中都可用的模块:

  • clipboard
  • crashReporter
  • nativeImage
  • screen
  • shell

开发

  • 代码规范
  • 源码目录结构
  • 与 NW.js(原 node-webkit)在技术上的差异
  • 构建系统概览
  • 构建步骤(Mac)
  • 构建步骤(Windows)
  • 构建步骤(Linux)
  • 在调试中使用 Symbol Server