electron-builder: Error: No update available, can't quit and install
- Version: “electron-builder”: “^20.28.2”
“electron-updater”: “^3.1.1”
- Target: Mac
Recently I updated electron-builder from ^19.19.1 to the lastest version, ^19.19.1 worked very well but the lastest version failed. I see the log show follows: `
2018-08-22 17:10:01:838 info:Update has already been downloaded to /Users/mymac/Library/Application Support/MyApp/update/myapp-2.1.0.zip). 2018-08-22 17:10:01:848 warn:Error: No update available, can’t quit and install ` I saw the updates has been downloaded, but it can not be installed. Look forward to your favourable reply.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 29
- Comments: 16 (1 by maintainers)
Commits related to this issue
- Remove options in update-downloaded dialog Calling quitAndInstall() explicitly caused an error to occur. Instead the user now has to quit the application manually in order to trigger the installation... — committed to scuy/idai-field by deleted user 6 years ago
- feat(electron-updater): MacOS delta update Close #2995, Close #3269 — committed to develar/electron-builder by develar 6 years ago
- feat(electron-updater): MacOS delta update Close #2995, Close #3269 — committed to develar/electron-builder by develar 6 years ago
- fix(xod-client-electron): set version of electron-updater to 3.0.3 to fix updating on mac see https://github.com/electron-userland/electron-builder/issues/3269 — committed to xodio/xod by evgenykochetkov 6 years ago
- Fix electron-updater to v3.0.4 (https://github.com/electron-userland/electron-builder/issues/3269) — committed to ThePacielloGroup/CCAe by deleted user 6 years ago
- Downgraded electron-updater to 3.0.3 to avoid Mac update error. (https://github.com/electron-userland/electron-builder/issues/3269) — committed to microsoft/BotFramework-Emulator by tonyanziano 6 years ago
- Downgrade electron-updater See https://github.com/electron-userland/electron-builder/issues/3269 — committed to RocketChat/Rocket.Chat.Electron by tassoevan 6 years ago
- Downgrade electron-updater See https://github.com/electron-userland/electron-builder/issues/3269 — committed to RocketChat/Rocket.Chat.Electron by tassoevan 6 years ago
- Bugfixes and updates: - Add "OK" button to "No updates available" dialog - Correctly terminate application for updates - Update incorrect Alert dismiss action name - Update single instance code to El... — committed to iotaledger/trinity-wallet by deleted user 6 years ago
- Revert to electron-updater 3.0.4 See https://github.com/electron-userland/electron-builder/issues/3269 — committed to complexdatacollective/Server by bryfox 6 years ago
- Revert to electron-updater 3.0.4 See https://github.com/electron-userland/electron-builder/issues/3269 — committed to complexdatacollective/Server by bryfox 6 years ago
- 2.1.0 release (#78) Fixed: - upstream auto update issue ([electron issue](https://github.com/electron-userland/electron-builder/issues/3269)) Added: - Thrift connection pooling - Support for AW... — committed to Netflix-Skunkworks/stethoscope-app by rmcvey 6 years ago
- 2.1.0 release (#78) Fixed: - upstream auto update issue ([electron issue](https://github.com/electron-userland/electron-builder/issues/3269)) Added: - Thrift connection pooling - Support for AW... — committed to RagtagOpen/stethoscope-app by rmcvey 6 years ago
- Revert to electron-updater 3.0.4 See https://github.com/electron-userland/electron-builder/issues/3269 — committed to complexdatacollective/Server by bryfox 6 years ago
Glad to see I’m not the only one having this same exact issue
Yep…issue with the
3.1.xpackage(s).3.0.3works great.I got it working on electron-updater - 4.0.6 and electron-builder - 20.36.2. This is what i was doing before
Because of some timing issue, i had to wait for update-downloaded to be fired and the call quitAndInstall and then i changed it to below code
Update: With electron-updater version 3.0.3 OSX updates work (May work with more recent releases as well, didn’t test)
As a workaround I’m setting
autoUpdater.autoInstallOnAppQuit = trueand asking the user to quit the app in a dialog… any updates on this?