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

The settingsReader.py file should fall back to the config file shipped with Retiled if the requested key isn't present in the version in ~/.config/Retiled/RetiledSettings/configs/ even if there is a config file there. #243

Open
DrewNaylor opened this issue Jul 23, 2023 · 1 comment

Comments

@DrewNaylor
Copy link
Owner

This way it's easier for projects to change the defaults while also keeping a safe backup setting in the code so everything doesn't break if there's no config file present at all.

@DrewNaylor
Copy link
Owner Author

I also need to ensure user settings can be written to the config file in the home directory just in case the default one is deleted or missing for some reason.

@DrewNaylor DrewNaylor changed the title The settingReader.py file should fall back to the config file shipped with Retiled if the requested key isn't present in the version in ~/.config/Retiled/RetiledSettings/configs/ even if there is a config file there. The settingsReader.py file should fall back to the config file shipped with Retiled if the requested key isn't present in the version in ~/.config/Retiled/RetiledSettings/configs/ even if there is a config file there. Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant