Demo Electron app to use all the "sexy" features.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
AJ ONeal f666f63453 add standard files 7 years ago
builder-configs fixed a few problems with the debian installer 7 years ago
images implemented basic tray 7 years ago
.gitignore copied basic example electron app code 7 years ago
CHANGELOG add standard files 7 years ago
LICENSE add standard files 7 years ago
README.md implemented auto-start 7 years ago
crash-reporter.js fixed some jshint complaints 7 years ago
drag-drop-main.js fixed some jshint complaints 7 years ago
drag-drop-render.js fixed some jshint complaints 7 years ago
index.html added button for mDNS device query 7 years ago
index.js added button for mDNS device query 7 years ago
mdns-main.js added button for mDNS device query 7 years ago
mdns-render.js put discovered device IP addresses in the UI 7 years ago
menu.js fixed some jshint complaints 7 years ago
notifications.js fixed some jshint complaints 7 years ago
package.json put discovered device IP addresses in the UI 7 years ago
progress.js fixed some jshint complaints 7 years ago
startup-main.js fixed some jshint complaints 7 years ago
startup-render.js fixed some jshint complaints 7 years ago
style.css made the page a little prettier 7 years ago
tray.js fixed some jshint complaints 7 years ago

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