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

flatpak update nuked the config #5506

Open
2 tasks done
Goury opened this issue Feb 20, 2025 · 2 comments · May be fixed by #5508
Open
2 tasks done

flatpak update nuked the config #5506

Goury opened this issue Feb 20, 2025 · 2 comments · May be fixed by #5508
Labels

Comments

@Goury
Copy link

Goury commented Feb 20, 2025

Describe the bug

Subj.
I've spent some time tuning my instance of dosbox-x and it all was gone after another update.

Steps to reproduce the behaviour

  1. Do nothing, flatpak updates are automated
  2. Just run the dosbox-x
  3. Be disappointed

Expected behavior

Retain the configuration.
If changes are required, do a migration, don't just nuke the whole config.

What operating system(s) this bug have occurred on?

Ubuntu 22.04

What version(s) of DOSBox-X have this bug?

2025.02.01

Used configuration

Output log


Additional information

No response

Have you checked that no similar bug report(s) exist?

  • I have searched and didn't find any similar bug report.

Code of Conduct & Contributing Guidelines

  • I agree to follow the code of conduct and the contributing guidelines.
@Goury Goury added the bug label Feb 20, 2025
@FredBezies
Copy link
Contributor

FredBezies commented Feb 20, 2025

As far as I know - and I've been using dosbox-x since its 0.8x.y time - nothing is lost.

When you upgrade Dosbox-X, for example from 2025.01.01 to 2025.02.01 a new config file is generated in ./config/dosbox-x

Configuration file for 2025.01.01 is called dosbox-x-2025.01.01.conf. The on for 2025.02.01 is dosbox-x-2025.02.01.conf

Just verify you have both files. And to get back your configuration, just rename dosbox-x-2025.01.01.conf to dosbox-x-2025.02.01.conf.

@Goury
Copy link
Author

Goury commented Feb 20, 2025

Yes, but I still consider this a bug.
At the very least, dosbox-x should check if there's an older config and prompt to use it instead of not even caring.

For a good example, look how blender does it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants