This is the GitHub repo to accompany the Egghead Course "Build a desktop application with Electron". Watch it on egghead.io.
Electron is a framework that makes it easy to create cross-platform desktop apps with JavaScript, HTML, and CSS. Electron and open-source tools give you everything you need to create a compelling desktop app--native user interface elements like menus and dialogs, installers, auto-updates, and more. This course will teach you the core concepts of Electron so that you can leverage it to create your own desktop application for macOS and Windows.
We'll go over:
- Creating user interfaces in Electron (both HTML based and native)
- Understanding Electron's multi-process architecture
- Shipping your app to users
-
Create a native desktop system menu with the Electron Menu module
-
Understand Electron’s main and renderer process architecture
-
Communicate between Electron processes using the remote module
-
Package your Electron application into a executable file with electron-builder
-
Ship updates to your Electron app with autoUpdater (Windows)
git clone https://github.com/ccnokes/build-a-desktop-app-with-electron.git
If you want to run each example, you may want to save disk space by symlinking the node_modules at the root of the project to each lesson. To do so:
npm install
npm run symlink