electron-about-window icon indicating copy to clipboard operation
electron-about-window copied to clipboard

Feature request: update checker

Open will-stone opened this issue 8 years ago • 6 comments

One of the great features of many About windows is the ability to check for updates. I was wondering if it would be a nice addition to this package? I can imagine it working by checking the installed version against GitHub releases (https://developer.github.com/v3/repos/releases/). Then opening a browser to the page if an update is found. I'll take a look if I have time, but if it's easy and you have a moment, I'd love to see this.

will-stone avatar Oct 12 '17 08:10 will-stone

Yeah, I also think it would be great.

Electron has a feature to provide automatic application update as following document.

https://github.com/electron/electron/blob/master/docs/tutorial/updates.md https://github.com/electron/electron/blob/master/docs/api/auto-updater.md

electron-about-window can support this by adding a UI to check update in the window. But I haven't used autoUpdater yet and need to know how to do that. So it may take time (PR is welcome).

rhysd avatar Oct 14 '17 09:10 rhysd

Thanks for the info. I'm gonna take a look at electron-updater as it best suits my needs.

will-stone avatar Oct 16 '17 08:10 will-stone

Hi @rhysd I actually built my own update checker in the end. It's really lightweight; simply checking GitHub's release API and providing a link to the release page if the current version is less than the remote version. Not sure if you're still considering this feature for your package but thought I'd let you know how I achieved it in case it helps. Thanks.

will-stone avatar Jan 16 '18 13:01 will-stone

I'd also like this feature!

odiseo42 avatar Apr 24 '18 19:04 odiseo42

4 years later and this issue isn't closed...

TechStudent10 avatar Oct 10 '21 17:10 TechStudent10

You can do it by making a PR

rhysd avatar Oct 11 '21 05:10 rhysd