Update your node-webkit based apps with ease
Last updated 6 years ago by gerwinbrunner .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install node-webkit-auto-updater 
SYNC missed versions from official npm registry.


Node Webkit Auto Updater

This code is strongly inspired by the following projects: (node-webkit-mac-updater)[] (node-webkit-updater)[]

The following operating systems are supported:

  • OSX
  • Windows


You can install this package from NPM with the following command:

npm install node-webkit-auto-updater


It's upto your application to know whether an update is needed and where to find it. You can do this by periodically hitting an API endpoint under your control or use sockets to let you client know when it's time to update. Once you know an update is needed then simply let the updater know where to find it.

This gives you the oppertunity to ask the user if they wish to update or force an update in the background.

var Updater = require('node-webkit-mac-updater');

var updater = new Updater({
    source: {
      mac: "http://localhost:3000/releases/updapp/mac/updapp.dmg",
      win: "http://localhost:3000/releases/updapp/win/",
      linux: "http://localhost:3000/releases/updapp/linux32/updapp.tar.gz"

    if (!err) console.log('App has been updated!');

We use bunyan as logger

tail -f update.log | bunyan -o short

Current Tags

  • 0.0.6                                ...           latest (6 years ago)

3 Versions

  • 0.0.6                                ...           6 years ago
  • 0.0.5                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (8)
Dev Dependencies (3)
Dependents (1)

Copyright 2014 - 2016 © |