mongodb-js / hadron-auto-update-manager

Atoms AutoUpdateManager class as a standalone module.
Apache License 2.0
1 stars 1 forks source link

hadron-auto-update-manager travis npm

Atom's AutoUpdateManager class as a standalone module.

Example

const path = require('path');
const AutoUpdateManager = require('hadron-auto-update-manager');

const autoUpdater = new AutoUpdateManager({
    endpoint: 'https://compass-mongodb-com.herokuapp.com',
    icon_path: path.join(__dirname, '..', 'resources', 'mongodb-compass.png')
  })
  .on('update-available', () => {
    autoUpdater.install();
  })
  .check();

License

Apache 2.0