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

Updater: .hex cache directory should drop the [version] part #99

Open
dallmair opened this issue Dec 20, 2023 · 0 comments
Open

Updater: .hex cache directory should drop the [version] part #99

dallmair opened this issue Dec 20, 2023 · 0 comments

Comments

@dallmair
Copy link
Member

At the moment, the Updater caches .hex files in the following directories:

  • Windows: C:\Users\[currentUser]\AppData\Local\Selfbus\Selfbus-Updater\Cache\[version]
  • Linux: /home/[user-home]]/.cache/Selfbus-Updater/[version]

Consequently, when updating to a new version of the Updater one loses access to all cached .hex files, which is unnecessary since those cached files to not have any dependency onto the Updater version.

Let's drop the version number part from the directory, so we can start using the diff mode even after an update of the Updater.

Darthyson added a commit that referenced this issue Mar 6, 2024
There is no reason to organize the *.bin files in subfolders corresponding to the version of the updater. A *.bin stays a *.bin no matter what.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant