Update loop does not update application
See original GitHub issueelectron-updater Version: 2.17.6
electron-builder Version: 19.49.0
I have a problem with automatic update of application. Updates resists on S3, and my application finds the newest version properly. But after update, it probably does not update application at all, and starts the entire process again:
Here’s my code snippet:
`const {autoUpdater} = require(“electron-updater”); if(!isDev){ app.on(‘ready’, function() { log.info(autoUpdater.currentVersion); autoUpdater.checkForUpdates();
autoUpdater.on('update-downloaded',function(info) {
setTimeout(function() {
autoUpdater.quitAndInstall();
}, 100);
});
}`
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Why am I getting stuck on an update loop from the app stores?
Open the “Settings” app on the iPhone or iPad. · Go to “iTunes & App Store” · Under the 'Automatic Downloads' section, look...
Read more >Android Stuck in Google Play Update Loop - Technipages
Solved by: 1) Turn off internet connection (WiFi & data). 2) Start Play Store. 3) Switch to another Google account in the app....
Read more >Updating/Rebuilding - LoopDocs - GitHub Pages
Under ordinary circumstances, you do not have to update your Loop app until it expires (1 year for a paid account). However, we...
Read more >python - Kivy GUI not updating within the loop ... - Stack Overflow
As long as this loop is holding the main thread, no updates will be shown in your GUI. It is that loop that...
Read more >How to force update to label during a loop - Delphi-PRAXiS [en]
Your answer I think applies to a multi-threaded app, but not one where there is only one main thread. My need is to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I got the same problem,my app can check update success and finish download,but it do not install new version after app quit,the only way is run app as administrator by self
Anyone found a solution to this issue?