fix default profile (#152915)

- send all profiles to window and shared process
- set first profile as default profile
This commit is contained in:
Sandeep Somavarapu
2022-06-23 08:57:47 +02:00
committed by GitHub
parent 668c538b8d
commit 87a6ba590a
20 changed files with 44 additions and 50 deletions

View File

@@ -111,7 +111,7 @@ export async function setupServerServices(connectionToken: ServerConnectionToken
fileService.registerProvider(Schemas.file, disposables.add(new DiskFileSystemProvider(logService)));
// Configuration
const userDataProfilesService = new UserDataProfilesService(undefined, environmentService, fileService, logService);
const userDataProfilesService = new UserDataProfilesService(environmentService, fileService, logService);
const configurationService = new ConfigurationService(environmentService.machineSettingsResource, fileService, new NullPolicyService(), logService);
services.set(IConfigurationService, configurationService);
await configurationService.initialize();