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

Load config file on startup #15

Open
Tracked by #18
Piturnah opened this issue Dec 10, 2022 · 0 comments · May be fixed by #17
Open
Tracked by #18

Load config file on startup #15

Piturnah opened this issue Dec 10, 2022 · 0 comments · May be fixed by #17

Comments

@Piturnah
Copy link
Collaborator

Piturnah commented Dec 10, 2022

Keep user configurations in some kind of config file that's loaded at startup

Probably makes sense to keep this in a consistent configuration directory (e.g. ~/.config on Linux - see dirs or directories)

For now it might make sense to just put it in the project root since that might be easier for testing/development process, but I'm not sure yet.

EDIT: just occurred to me that perhaps this is a bad idea as we don't particularly want the in-use settings file to be under source control

Maybe check ./ first before checking config file? Or, check ./ with --features dev or some other flag? Or on cfg!(dbg_assertions)

Eventually this file will be editable in-game via settings menu.

@Piturnah Piturnah added the enhancement New feature or request label Dec 10, 2022
@Piturnah Piturnah removed the enhancement New feature or request label Dec 17, 2022
This was referenced Dec 17, 2022
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

Successfully merging a pull request may close this issue.

1 participant