mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 15:45:05 -04:00
Split CLI processing into pre- and post-detection functions and add --localconfig and --nodetect options
This commit is contained in:
1 parent
72da8f362c
commit
ddfcd1caf9
11 files changed
+330
-187
No files matched your search
@@ -72,6 +72,12 @@ bool ProfileManager::SaveProfile(std::string profile_name)
|
||||
}
|
||||
}
|
||||
|
||||
void ProfileManager::SetConfigurationDirectory(std::string directory)
|
||||
{
|
||||
configuration_directory = directory;
|
||||
UpdateProfileList();
|
||||
}
|
||||
|
||||
bool ProfileManager::LoadProfile(std::string profile_name)
|
||||
{
|
||||
return(LoadProfileWithOptions(profile_name, false, true));
|
||||
|
||||
Reference in new issue
Block a user