Demo Electron app to use all the "sexy" features.
Go to file
tigerbot 335dc51e6f fixed a few problems with the debian installer 2017-04-21 18:35:22 -06:00
builder-configs fixed a few problems with the debian installer 2017-04-21 18:35:22 -06:00
images implemented basic tray 2017-04-20 12:54:01 -06:00
.gitignore copied basic example electron app code 2017-04-20 12:01:35 -06:00
README.md added specifics about contents to the readme 2017-04-21 17:26:10 -06:00
crash-reporter.js implemented the reporter side of crash reporting 2017-04-21 16:45:52 -06:00
drag-drop-main.js added drag-and-drop handling 2017-04-21 13:24:57 -06:00
drag-drop-render.js added drag-and-drop handling 2017-04-21 13:24:57 -06:00
index.html implemented the reporter side of crash reporting 2017-04-21 16:45:52 -06:00
index.js fixed a few problems with the debian installer 2017-04-21 18:35:22 -06:00
menu.js added a simple menu 2017-04-20 16:42:04 -06:00
notifications.js implemented dock badges and progress bar 2017-04-21 15:41:37 -06:00
package.json fixed a few problems with the debian installer 2017-04-21 18:35:22 -06:00
progress.js implemented dock badges and progress bar 2017-04-21 15:41:37 -06:00
tray.js fixed bug with tray icon when run from other directories 2017-04-21 16:16:17 -06:00

README.md

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 integration
  • progress.js: Dock badge count and window progress bar
  • notifications.js: Notifications
  • menu.js: Custom menu and keyboard shortcuts
  • crash-reporter.js: Reporting side of the crash reporting
  • drag-drop-main.js: Handling of drag-and-drop events onto the dock or launcher
  • drag-drop-render.js: Handling of drag-and-drop events onto the window

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