1.1.9 • Published 7 years ago

has-updates v1.1.9

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Light and easy-to-use plugin to check available app updates

app.js

const hasUpdates = require('has-updates');

hasUpdates("https://domain.me/public/apps/myapp/updates.json", electron.app.getVersion())
.then((result) => {
   console.log(result);
}, (error) => {
   console.log(error);
});

updates.json

{
   "version": "0.0.2",
   "win": {
      "url": "myapp-0.0.2.exe",
      "description": "Fixed horrible bugs"
   },
   "mac": {
      "url": "myapp-0.0.2.dmg",
      "description": "Fixed even more horrible bugs"
   },
   "linux": {
      "url": "myapp-0.0.2.zip",
      "description": "Meh..."
   }
}
1.1.9

7 years ago

1.1.8

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago