mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-09-15 14:47:14 -04:00
Rework profile migration, match new function style for reading the legacy file into a controller list, handle migration after local client connection so that profiles can upload to server
This commit is contained in:
1 parent
84cf974d70
commit
8a7cda7495
3 files changed
+144
-121
No files matched your search
@@ -1143,6 +1143,13 @@ void ResourceManager::Initialize(bool tryConnect, bool detectDevices, bool start
|
||||
tryAutoConnect = false;
|
||||
}
|
||||
|
||||
/*-----------------------------------------------------*\
|
||||
| Migrate legacy profiles after attempting local |
|
||||
| connection so that migrated profiles get uploaded to |
|
||||
| the server if connected |
|
||||
\*-----------------------------------------------------*/
|
||||
profile_manager->MigrateLegacyProfiles();
|
||||
|
||||
/*-----------------------------------------------------*\
|
||||
| Initialize Saved Client Connections |
|
||||
\*-----------------------------------------------------*/
|
||||
|
||||
Reference in new issue
Block a user