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

Autoupdater downloads and installs "installer" version when using the "portable" version #3751

Open
2 tasks done
quadrilo44 opened this issue Jan 8, 2025 · 1 comment
Open
2 tasks done
Assignees
Labels
bug Something isn't working

Comments

@quadrilo44
Copy link

I have checked the following:

  • I use the newest version of bruno.
  • I've searched existing issues and found nothing related to my issue.

Describe the bug

I noticed this issue in the 1.36.1 version but have have downloaded 1.38.0 version so I could tick the box on this template. I presume the issue still exists on 1.38.0, but there is no version after this that would trigger the autoupdater. I have described the issue and provided logs for the issue as it exists in 1.36.1.

When using the portable version of Bruno on Windows, the autoupdater downloads and installs the "installer" version of the application instead of the "portable" version. It then installs it into AppData with no notification, resulting in an uninstall entry appearing in the Add/Remove programs.

Ideally, for the portable version, it should download and extract the portable version to the application folder or the autoupdater should be disabled by default.

.bru file to reproduce the bug

No response

Screenshots/Live demo link

c:\Apps\Bruno>"C:\Apps\Bruno\app\Bruno.exe" --user-data-dir="C:\Apps\Bruno\data"

c:\Apps\Bruno>
Preferences file is located at: C:\Apps\Bruno\data\preferences.json
12:55:58.223 > AutoUpdater configured.
12:55:58.227 > Checking for update
12:55:58.227 > Checking for updates...
.
.
.
12:56:02.287 > Found version 1.38.0 (url: bruno_1.38.0_x64_win.exe)
12:56:02.288 > Downloading update from bruno_1.38.0_x64_win.exe
12:56:02.291 > updater cache dir: C:\Users\username\AppData\Local\bruno-updater
12:56:02.544 > Update has already been downloaded to C:\Users\username\AppData\Local\bruno-updater\pending\bruno_1.38.0_x64_win.exe).
12:56:02.545 > Update downloaded.
12:56:08.861 > Auto install update on quit
12:56:08.862 > Install: isSilent: true, isForceRunAfter: false
12:56:08.868 > Executing: C:\Users\username\AppData\Local\bruno-updater\pending\bruno_1.38.0_x64_win.exe with args: --updated,/S

@quadrilo44 quadrilo44 added the bug Something isn't working label Jan 8, 2025
@quadrilo44
Copy link
Author

After updating to 1.38.0 and disabling the autoupdater, the logs appear to show that it is still checking for updates.

image

C:\Apps\Bruno>"C:\Apps\Bruno\app\Bruno.exe" --user-data-dir="C:\Apps\Bruno\data"

C:\Apps\Bruno>
Preferences file is located at: C:\Apps\Bruno\data\preferences.json
13:20:46.094 > AutoUpdater configured.
13:20:46.097 > Checking for update
.
.
.
13:20:49.833 > Update for version 1.38.0 is not available (latest version: 1.38.0, downgrade is disallowed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants