Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quitAndInstall on macOS doesn't do anything #6389

Closed
Nokel81 opened this issue Nov 3, 2021 · 1 comment · Fixed by #6390
Closed

quitAndInstall on macOS doesn't do anything #6389

Nokel81 opened this issue Nov 3, 2021 · 1 comment · Fixed by #6390
Labels

Comments

@Nokel81
Copy link
Contributor

Nokel81 commented Nov 3, 2021

  • Electron-Builder Version: 22.13.1
  • Node Version: 14.17
  • Electron Version: 13.6.1
  • Electron Type (current, beta, nightly): current
  • electron-updater version: 4.6.1
  • Target: macOS x64

My code requests that electron-updater's autoUpdater (now referred to as just autoUpdater) should check for updates and then download that update. And then once the user has confirmed that they wish to proceed calls autoUpdater.quitAndInstall(). Then nothing happens.

I have attached a logger which does output that the update was installed. But when playing around with the code I see that the native event "downloaded-update" never gets emitted so squirrelDownloadedUpdate is always false.

@Nokel81
Copy link
Contributor Author

Nokel81 commented Nov 3, 2021

This is macos not windows FYI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants