chore(vscode): update to 1.54.2

This commit is contained in:
Joe Previte
2021-03-11 10:27:10 -07:00
1459 changed files with 53404 additions and 51004 deletions

View File

@@ -43,7 +43,7 @@ export class ElectronURLListener {
initialUrisToHandle: { uri: URI, url: string }[],
private readonly urlService: IURLService,
windowsMainService: IWindowsMainService,
environmentService: IEnvironmentMainService
environmentMainService: IEnvironmentMainService
) {
// the initial set of URIs we need to handle once the window is ready
@@ -51,7 +51,7 @@ export class ElectronURLListener {
// Windows: install as protocol handler
if (isWindows) {
const windowsParameters = environmentService.isBuilt ? [] : [`"${environmentService.appRoot}"`];
const windowsParameters = environmentMainService.isBuilt ? [] : [`"${environmentMainService.appRoot}"`];
windowsParameters.push('--open-url', '--');
app.setAsDefaultProtocolClient(product.urlProtocol, process.execPath, windowsParameters);
}
@@ -82,7 +82,7 @@ export class ElectronURLListener {
if (isWindowReady) {
this.flush();
} else {
Event.once(windowsMainService.onWindowReady)(this.flush, this, this.disposables);
Event.once(windowsMainService.onDidSignalReadyWindow)(this.flush, this, this.disposables);
}
}