You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have packaged my electron app with electron-packager and build its installer with electron-winstaller.
I used autoUpdater (from electron) for the update process.
So I got:
*RELEASES
*myapp.exe-1.0.0-full.nupkg
*myappinstaller.exe
I put them in a github release with tag: v1.0.0
Then I did the same with v2.0.0 and the v1.0.0 app updated automatically to v2.0.0 on the next restart.
The problem and the feature requested
Altough it worked, I find that it would be useful to have an event in wich we can find the downloading progress to show to the users. Electron apps are indeed quite heavy and take a lot of time to be downloaded.
In addition, updates are downloaded soon after a new version is found. The problem is that the user does not have a chance to discard the update if he wants to stay with the old version.
Alternatives
There is a third part package, electron-updater wich is very powerful and allows to be notified of the download progress and to choose when install the update or wheter install it.
Its only problem is that it works with electron-builder and it does not match my case, because I'm using electron-winstaller
The text was updated successfully, but these errors were encountered:
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
@codebytere@ckerr sorry, just getting some attention to a low hanging fruit feature that would have a big positive impact if implemented. I believe this is implemented on other auto updaters for electron.
What I did
I have packaged my electron app with electron-packager and build its installer with electron-winstaller.
I used autoUpdater (from electron) for the update process.
So I got:
*RELEASES
*myapp.exe-1.0.0-full.nupkg
*myappinstaller.exe
I put them in a github release with tag: v1.0.0
Then I did the same with v2.0.0 and the v1.0.0 app updated automatically to v2.0.0 on the next restart.
The problem and the feature requested
Altough it worked, I find that it would be useful to have an event in wich we can find the downloading progress to show to the users. Electron apps are indeed quite heavy and take a lot of time to be downloaded.
In addition, updates are downloaded soon after a new version is found. The problem is that the user does not have a chance to discard the update if he wants to stay with the old version.
Alternatives
There is a third part package, electron-updater wich is very powerful and allows to be notified of the download progress and to choose when install the update or wheter install it.
Its only problem is that it works with electron-builder and it does not match my case, because I'm using electron-winstaller
The text was updated successfully, but these errors were encountered: