多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
确保使用的文档匹配你的 Electron 版本。本文档基于 v1.4.5 版本进行翻译。如果你在使用其它版本的 Electron,其中可能包含了一些不兼容的 API 变更和不同的使用方式。如果需要访问其它版本的文档,可以在 Electron 的 [GitHub](https://github.com/electron/electron) 上切换分支,选择合适的版本查看文档。 ## 索引 * [前言.关于 Electron](227450) ## 第一部分 开发指南 * [Supported Platforms](tutorial/supported-platforms.md) * [Security](tutorial/security.md) * [Electron Versioning](tutorial/electron-versioning.md) * [Application Distribution](tutorial/application-distribution.md) * [Mac App Store Submission Guide](tutorial/mac-app-store-submission-guide.md) * [Windows Store Guide](tutorial/windows-store-guide.md) * [Application Packaging](tutorial/application-packaging.md) * [Using Native Node Modules](tutorial/using-native-node-modules.md) * [Debugging Main Process](tutorial/debugging-main-process.md) * [Using Selenium and WebDriver](tutorial/using-selenium-and-webdriver.md) * [DevTools Extension](tutorial/devtools-extension.md) * [Using Pepper Flash Plugin](tutorial/using-pepper-flash-plugin.md) * [Using Widevine CDM Plugin](tutorial/using-widevine-cdm-plugin.md) * [Testing on Headless CI Systems (Travis, Jenkins)](tutorial/testing-on-headless-ci.md) * [Offscreen Rendering](tutorial/offscreen-rendering.md) ## 第二部分 使用教程 * [Quick Start](tutorial/quick-start.md) * [Desktop Environment Integration](tutorial/desktop-environment-integration.md) * [Online/Offline Event Detection](tutorial/online-offline-events.md) * [REPL](tutorial/repl.md) ## 第三部分 API参考 * [Synopsis](api/synopsis.md) * [Process Object](api/process.md) * [Supported Chrome Command Line Switches](api/chrome-command-line-switches.md) * [Environment Variables](api/environment-variables.md) ### Custom DOM Elements: * [`File` Object](api/file-object.md) * [`<webview>` Tag](api/web-view-tag.md) * [`window.open` Function](api/window-open.md) ### Modules for the Main Process: * [app](api/app.md) * [autoUpdater](api/auto-updater.md) * [BrowserWindow](api/browser-window.md) * [contentTracing](api/content-tracing.md) * [dialog](api/dialog.md) * [globalShortcut](api/global-shortcut.md) * [ipcMain](api/ipc-main.md) * [Menu](api/menu.md) * [MenuItem](api/menu-item.md) * [powerMonitor](api/power-monitor.md) * [powerSaveBlocker](api/power-save-blocker.md) * [protocol](api/protocol.md) * [session](api/session.md) * [systemPreferences](api/system-preferences.md) * [Tray](api/tray.md) * [webContents](api/web-contents.md) ### Modules for the Renderer Process (Web Page): * [desktopCapturer](api/desktop-capturer.md) * [ipcRenderer](api/ipc-renderer.md) * [remote](api/remote.md) * [webFrame](api/web-frame.md) ### Modules for Both Processes: * [clipboard](api/clipboard.md) * [crashReporter](api/crash-reporter.md) * [nativeImage](api/native-image.md) * [screen](api/screen.md) * [shell](api/shell.md) ## 第四部分 高级主题 * [Coding Style](development/coding-style.md) * [Using clang-format on C++ Code](development/clang-format.md) * [Source Code Directory Structure](development/source-code-directory-structure.md) * [Technical Differences to NW.js (formerly node-webkit)](development/atom-shell-vs-node-webkit.md) * [Build System Overview](development/build-system-overview.md) * [Build Instructions (macOS)](development/build-instructions-osx.md) * [Build Instructions (Windows)](development/build-instructions-windows.md) * [Build Instructions (Linux)](development/build-instructions-linux.md) * [Debug Instructions (macOS)](development/debug-instructions-macos.md) * [Debug Instructions (Windows)](development/debug-instructions-windows.md) * [Setting Up Symbol Server in debugger](development/setting-up-symbol-server.md) * [Documentation Styleguide](development/styleguide.md) ## FAQ 有许多经常被问到的问题。在寻找其它解决方案的时候,可以先从 FAQ 列表中检查一下,看看你的问题是否在其中。 * 【[227476](227476)】