question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update loop does not update application

See original GitHub issue

electron-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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
saatana97commented, Dec 25, 2017

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

0reactions
playengineiocommented, Dec 25, 2019

Anyone found a solution to this issue?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found