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:
Adam Honse committed 2026-08-02 23:47:57 -05:00
1 parent 84cf974d70
commit 8a7cda7495
3 files changed
+144 -121

No files matched your search

+7
View File
@@ -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 |
\*-----------------------------------------------------*/