Make product configuration available to non node.js environments (fix #120243)

This commit is contained in:
Benjamin Pasero
2021-04-06 08:55:31 +02:00
parent dd37fc58ca
commit ff0f7f3cf2
25 changed files with 371 additions and 294 deletions

View File

@@ -549,7 +549,7 @@ export class CodeApplication extends Disposable {
services.set(IDiagnosticsService, ProxyChannel.toService(getDelayedChannel(sharedProcessReady.then(client => client.getChannel('diagnostics')))));
// Issues
services.set(IIssueMainService, new SyncDescriptor(IssueMainService, [machineId, this.userEnv]));
services.set(IIssueMainService, new SyncDescriptor(IssueMainService, [this.userEnv]));
// Encryption
services.set(IEncryptionMainService, new SyncDescriptor(EncryptionMainService, [machineId]));