1.2 KiB
1.2 KiB
Electron Demo
Example of a simple Electon
app that uses the features
described as "sexy" by the webtorrent team.
Contents
So far the following have been implemented
tray.js
: Tray integrationprogress.js
: Dock badge count and window progress barnotifications.js
: Notificationsmenu.js
: Custom menu and keyboard shortcutscrash-reporter.js
: Reporting side of the crash reportingdrag-drop-main.js
: Handling of drag-and-drop events onto the dock or launcherdrag-drop-render.js
: Handling of drag-and-drop events onto the windowstartup-main.js
: Enabling and disabling auto-startup feature
Disclaimer: This repository has been structured to separate each feature as much as possible. As such not all of the communication is set up in the same way it should be in more complete and complicated applications.
Missing
The following have not yet been implemented in this demo
- One-step build
- Signed installers for all platforms
- Automatic updaters for Mac and Windows
Running the app without installation
npm install
npm start
Creating the .deb
npm install
npm run build
npm run deb64
The installer will be placed in dist/installers