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

Implement local config #92

Closed
wants to merge 2 commits into from
Closed

Conversation

cabbey
Copy link
Member

@cabbey cabbey commented Jan 4, 2021

The config file and the Changelog both talk about a local configuration file. People keep trying to use it, see for example #3 .

But the joke's on us... the code doesn't actually even try to load any file by that name. (Even accounting for the mcpe-viz vs bedrock-viz renaming.)

That's not how this works, that's not how any of this works.

So I added logic to look for both the base config bedrock-viz.cfg and a local additions bedrock-viz.local.cfg in the search path it was already using. Also refactored the code to be a little less bizarre. Also documented it for users.

cabbey added 2 commits January 3, 2021 22:42
This is mentioned in CHANGELOG, and in the current cfg file... but there's no actual code to look for it!
Mostly reorganization to bring all examples of a type of config directive near
the docs for it. But also adding on to those docs a bit.

The actual default working configuration is at the end of the file.
@cabbey
Copy link
Member Author

cabbey commented Jun 29, 2021

merged to master for 0.1.4 release

@cabbey cabbey closed this Jun 29, 2021
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 this pull request may close these issues.

1 participant