GitPie
GitPie copied to clipboard
Create a updater for GitPie
For automatic updates each new version of the application, a updater module is necessary.
To implement it, I'm thinking create it from the zero. I saw the node-webkit-updater but it performs native commands like unzip
and if the user do not have these programs installed the update can break.
In a quick research, I found modules that can uncompress files without perform commands (I hope :smiley: ). They are:
@mapaiva did you check this: http://electron.atom.io/docs/api/auto-updater/
I think it will do the job ;)
Thanks @vapits for the suggestion.
I've played a little bit with this package in the past. but I didn't use it as the updater module because this had no support for linux. Seems that nothing change :smile:
I think the best approach is to use it for mac and windows and for linux use the package manager for each distro.
Ooops you're right.