charliefoxtwo/TouchDCS

Remove default config from config.json

Closed this issue · 0 comments

Right now all configuration is loaded from config.json. This is great, except when a user modifies their config file and later attempts to update to the latest version of TouchDCS which might have different default configuration set. It results in an awkward attempt to merge json configuration files which is sure to end in disaster.

If we can either split this into two separate config files or, more likely, just move the default configuration into code rather than config.json, it will put us in a position where we don't need to worry about an update overwriting a user's config settings (especially when things like osc devices are saved in that file as well).