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

[auto-updater]: autoUpdater.download() downloads _and_ installs update #4953

Closed
UberMouse opened this issue May 12, 2020 · 16 comments
Closed
Labels

Comments

@UberMouse
Copy link

22.6.0

  • Electron Version: 8.2.0
  • Electron Type (current, beta, nightly): current

4.3.1

  • macOS

I've integrated with the auto updater events in electron-builder to build my own auto-update UI. I have separate steps for downloading and installing the update. Which I am performing by calling autoUpdater.downloadUpdate() and autoUpdate.quitAndInstall() respectively.

However, it appears that as soon as the update is done downloading after calling downloadUpdate the update is installed. Is it possible to change this behaviour on macOS?

I see that there is the autoUpdater.autoInstallOnAppQuit setting to turn this off, but it doesn't support macOS.

Are there any alternatives here? How come I can't disable this functionality on macOS?

@UberMouse
Copy link
Author

Related to #4308

@gre
Copy link

gre commented May 22, 2020

sadly a bot automatically closed the PR #4308 , we kept maintaining this PR to be mergeable for months and it was not merged yet and not even commented by the owners. I hope we have the opportunity to look at it and get it merged because it seems pretty relevant and important regarding implementing a secure update.

cc @MortalKastor @develar @atali

@UberMouse
Copy link
Author

Seconded. I manually applied your PR with patch-package so at least one other company is using it! I can confirm it's been working without any problems for us.

@stale
Copy link

stale bot commented Jul 21, 2020

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the backlog label Jul 21, 2020
@UberMouse
Copy link
Author

This is still relevant. It's blocked on someone merging the PR in #4308

cc @develar

@stale stale bot removed the backlog label Jul 21, 2020
@gre
Copy link

gre commented Jul 23, 2020

Is there any way we can help on this topic @develar?
It is an important security-related topic, i'm not sure why is it ignored but we're here to help.

@gre
Copy link

gre commented Aug 28, 2020

@MortalKastor can you recreate the PR? I hope it's going to be reviewed this time..

@MortalKastor
Copy link
Contributor

@gre OK

Third time's a charm, as the saying goes 🤞

@stale
Copy link

stale bot commented Oct 31, 2020

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the backlog label Oct 31, 2020
@UberMouse
Copy link
Author

This is still relevant. It's blocked on someone merging the PR in #5271

@stale stale bot removed the backlog label Oct 31, 2020
@stale
Copy link

stale bot commented Dec 31, 2020

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the backlog label Dec 31, 2020
@gre
Copy link

gre commented Jan 1, 2021

YES

@stale stale bot removed the backlog label Jan 1, 2021
@bjbk
Copy link

bjbk commented Feb 2, 2021

Any resolution to this issue? There may be reasons for macOS users to delay update installs. Is there a roadmap outlining when autoInstallOnAppQuit = false will be properly implemented in the auto-updater?

@UberMouse
Copy link
Author

There is no reason afaik. We use the patch from #5271 to get this functionality and it works fine with the patch applied. I'm not sure why it's never been merged other than the fact that electron-builder seems poorly maintained.

@bjbk
Copy link

bjbk commented Feb 3, 2021

Seems a shame. In so many ways I find it superior to electron-packager. Hopefully it will be merged.

@stale
Copy link

stale bot commented Jun 7, 2021

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the backlog label Jun 7, 2021
@stale stale bot closed this as completed Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants