Demo Electron app to use all the "sexy" features.
Go to file
AJ ONeal 215653ba46 add standard files 2017-11-20 09:43:22 -07: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
LICENSE add standard files 2017-11-20 09:43:22 -07:00
README.md implemented auto-start 2017-04-24 17:21:00 -06:00
crash-reporter.js fixed some jshint complaints 2017-05-19 13:19:43 -06:00
drag-drop-main.js fixed some jshint complaints 2017-05-19 13:19:43 -06:00
drag-drop-render.js fixed some jshint complaints 2017-05-19 13:19:43 -06:00
index.html added button for mDNS device query 2017-05-22 15:10:24 -06:00
index.js added button for mDNS device query 2017-05-22 15:10:24 -06:00
mdns-main.js added button for mDNS device query 2017-05-22 15:10:24 -06:00
mdns-render.js put discovered device IP addresses in the UI 2017-05-22 17:20:44 -06:00
menu.js fixed some jshint complaints 2017-05-19 13:19:43 -06:00
notifications.js fixed some jshint complaints 2017-05-19 13:19:43 -06:00
package.json put discovered device IP addresses in the UI 2017-05-22 17:20:44 -06:00
progress.js fixed some jshint complaints 2017-05-19 13:19:43 -06:00
startup-main.js fixed some jshint complaints 2017-05-19 13:19:43 -06:00
startup-render.js fixed some jshint complaints 2017-05-19 13:19:43 -06:00
style.css made the page a little prettier 2017-04-24 11:59:13 -06:00
tray.js fixed some jshint complaints 2017-05-19 13:19:43 -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
  • startup-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