| 560 | } |
| 561 | |
| 562 | void ResourceManager::SetConfigurationDirectory(const filesystem::path &directory) |
| 563 | { |
| 564 | config_dir = directory; |
| 565 | settings_manager->LoadSettings(directory / "OpenRGB.json"); |
| 566 | profile_manager->SetConfigurationDirectory(directory); |
| 567 | |
| 568 | rgb_controllers_sizes.clear(); |
| 569 | rgb_controllers_sizes = profile_manager->LoadProfileToList("sizes", true); |
| 570 | } |
| 571 | |
| 572 | NetworkServer* ResourceManager::GetServer() |
| 573 | { |
nothing calls this directly
no test coverage detected