goose icon indicating copy to clipboard operation
goose copied to clipboard

Feature Request: Automatic Update Installation

Open Abhijay007 opened this issue 3 months ago • 15 comments

Please explain the motivation behind the feature request.

Currently, when a new update is available, the app downloads the update to the Downloads folder. However, the user still needs to:

  1. Close the app manually.
  2. Go to the Downloads folder.
  3. Install the update manually.
Image

This is a bit inconvenient and interrupts the workflow.

Describe the solution you'd like

It would be great if the app could:

  • Automatically install the update after downloading.
  • Restart itself without requiring the user to manually install the downloaded file.

Describe alternatives you've considered

use electron-updater, I see we already have it on the goose project and have autoupdater.ts too, maybe we need to enable autoUpdater.autoDownload = false; to true and make some additional changes to the file to automate the process

  • [x] I have verified this does not duplicate an existing feature request

Abhijay007 avatar Aug 25 '25 16:08 Abhijay007

Some questions/comments @Abhijay007 wanted insights on @DOsinga @alexhancock @zanesq @michaelneale @jamadeo

They have a few questions about Goose's auto-update and extension distribution:

Are we intentionally preventing Goose from auto-downloading and restarting? Reported issue here, which appears similar to this related issue. What's the intended distribution method for Goose extensions?

I also noticed the Goose package isn't published to the npm registry. I came across it in @iandouglas' video https://www.youtube.com/shorts/QKg2Q6YCzdw where it looks structured like a Java package, distributed via Gradle or Maven. I couldn't find it published on either platform.

taniandjerry avatar Aug 27 '25 18:08 taniandjerry

Thanks @taniashiba for posting this. This here is related to this issue: https://github.com/block/goose/issues/4304, which is closed as it was not a goose issue, but I think it was similar to what we resolved earlier

I also noticed the Goose package isn't published to the npm registry. I came across it in @iandouglas' video https://www.youtube.com/shorts/QKg2Q6YCzdw where it looks structured like a Java package, distributed via Gradle or Maven. I couldn't find it published on either platform.

Abhijay007 avatar Aug 27 '25 18:08 Abhijay007

There's no reason we can't do it, someone can definitely pick it up if they are interested. I think we gave it a quick try but ran into strange issues with it after it was packaged up and had to disable it to get a release out.

zanesq avatar Aug 28 '25 00:08 zanesq

Hi @EbonyLouis , I’d like to work on this issue as my first contribution for Hacktoberfest. I have experience with Rust, JavaScript/TypeScript, React, and Node.js, and I’m excited to get started. Could you please guide me if there are any specific steps I should follow before beginning?

naveenkumar29052006 avatar Oct 03 '25 16:10 naveenkumar29052006

Couple things to keep in mind with this:

  1. Please test that it works in a built / distributed app not just on local
  2. We currently have support to hide automatic updates using the UPDATES_ENABLED flag please keep that functionality working.

zanesq avatar Oct 03 '25 17:10 zanesq

OK sure sir @zanesq currently i am working on #4365 issue after that i will surely work on this

thanks

naveenkumar29052006 avatar Oct 03 '25 17:10 naveenkumar29052006

If you have any questions as they come up, please do share here!

taniandjerry avatar Oct 03 '25 19:10 taniandjerry

.take

SanchitMahajan236 avatar Oct 05 '25 20:10 SanchitMahajan236

Thanks for taking this issue! Let us know if you have any questions!

github-actions[bot] avatar Oct 05 '25 20:10 github-actions[bot]

Hi @SanchitMahajan236, since @naveenkumar29052006 was asking to contribute to this first, I have reassigned this task to them. I encourage you to explore other issues in #4705 !

taniandjerry avatar Oct 08 '25 18:10 taniandjerry

Hi @naveenkumar29052006 - wanted to check on your progress with this issue and see if you needed any help :)

taniandjerry avatar Oct 22 '25 15:10 taniandjerry

yes @taniandjerry working on this

naveenkumar29052006 avatar Oct 23 '25 02:10 naveenkumar29052006

.take

AdemolaAri avatar Oct 23 '25 18:10 AdemolaAri

Thanks for taking this issue! Let us know if you have any questions!

github-actions[bot] avatar Oct 23 '25 18:10 github-actions[bot]

Posting here for everyone's reference - @AdemolaAri basically finished this for Hacktoberfest, but there was something on the our side from the dev team we had to look into in order to verify it and get it across the finish line. However, we will be getting his contribution approved once we are able! And I will for sure be rewarding @AdemolaAri credit in a different way outside of Hacktoberfest for all the hard work on it. ❤️ thank you!

taniandjerry avatar Oct 30 '25 14:10 taniandjerry