8000 GitHub - soulfist/status-icon: Easy way of adding tray icon telling you what's the build status
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Easy way of adding tray icon telling you what's the build status

License

Notifications You must be signed in to change notification settings

soulfist/status-icon

 
 

Repository files navigation

status-icon

Easy way of adding tray icon telling you what's the build status

Usage

npm install --save-dev status-icon
var statusIcon = require('status-icon')();
statusIcon.set('my-icon.png');

How to use

Use it with browserify or any of your other build systems:

...
function bundle() {
  statusIcon.progress();
  var stream = bundler.bundle();
  stream.on('error', function () {
    statusIcon.error();
  });
  stream.(...).on('finish', function () {
    statusIcon.ok();
  });
}

You can also use your custom images with:

statusIcon.set('my-icon.png');

About

Easy way of adding tray icon telling you what's the build status

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%
0