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

Automatic update tries to update to the same release (with new checksums) #116

Open
2 tasks done
graphixillusion opened this issue Sep 5, 2023 · 3 comments
Open
2 tasks done
Labels
bug Something isn't working upstream-issue An issue in a dependency or other upstream tool
Milestone

Comments

@graphixillusion
Copy link

graphixillusion commented Sep 5, 2023

Checklist

  • I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
  • This issue only relates to a single bug. I will open new issues for any other problems.

Description

The update mechanism seems to be broken: upon launch it detects new version (even if the version is already up to date), it downloads the update and the app restarts itself. The old exe is renamed in ".Rymdport.exe.old" and the the new exe has a different checksum of the previous one but the version it's still the same. This exact same issue happens with the previous version too (3.4.0): it updates to the same 3.4.0 version with different hashes and the app still remains on the version 3.4.0 missing the 3.5.0 target.

Steps to Reproduce

  1. Download the last release and start it
  2. The app shows an update notification asking to update
  3. The update process download a new exe, rename the old one to ".Rymdport.exe.old" and restart the app
  4. The app has the same version of before but the exe has different checksum hash

Screenshots

No response

Rymdport version

3.5.0, 3.4.0 (didn't try the oldest ones)

Operating System

Windows

Operating System Version

Windows 11

Go Compiler Version

No response

Additional Information

Already reporte here too:

#76 (comment)

@graphixillusion graphixillusion added the bug Something isn't working label Sep 5, 2023
@Jacalz
Copy link
Owner

Jacalz commented Sep 10, 2023

Thanks for the report. I have been quite busy lately. Will look at this as soon as I can

@Jacalz Jacalz added the infrastructure Issues related to project infrastructure. label Oct 27, 2023
@Jacalz
Copy link
Owner

Jacalz commented Oct 27, 2023

Sorry for the late reply. I can replicate this on Linux as well (apart from the renamed file). How very odd. I'll bring this up to the folks developing the update tooling.

@Jacalz Jacalz changed the title Update doesn't work correctly Automatic update tries to update to the same release (with new checksums) Oct 27, 2023
@Jacalz Jacalz added the upstream-issue An issue in a dependency or other upstream tool label Oct 27, 2023
@Jacalz
Copy link
Owner

Jacalz commented Oct 27, 2023

Seems to be a duplicate of fynelabs/selfupdate#31. I'll keep this open until it is fixed upstream and I've updated to a new version of the selfupdate dependency.

@Jacalz Jacalz removed the infrastructure Issues related to project infrastructure. label Oct 30, 2023
@Jacalz Jacalz added this to the Undecided milestone Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream-issue An issue in a dependency or other upstream tool
Projects
None yet
Development

No branches or pull requests

2 participants