GitPie icon indicating copy to clipboard operation
GitPie copied to clipboard

Create a updater for GitPie

Open mapaiva opened this issue 9 years ago • 3 comments

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:

tar.gz adm-zip request Can be usefull

mapaiva avatar Aug 21 '15 14:08 mapaiva

@mapaiva did you check this: http://electron.atom.io/docs/api/auto-updater/

I think it will do the job ;)

vapits avatar Dec 19 '16 10:12 vapits

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.

mapaiva avatar Dec 19 '16 11:12 mapaiva

Ooops you're right.

vapits avatar Dec 19 '16 12:12 vapits