- Use URI to install from vsix

- Implement zip and unzip extensions APIs
- Sync extension across management servers
- Download service to download zips
This commit is contained in:
Sandeep Somavarapu
2018-08-20 15:16:40 +02:00
parent 1f1b778104
commit 9f492373ed
17 changed files with 679 additions and 18 deletions

View File

@@ -43,6 +43,8 @@ import { LocalizationsChannel } from 'vs/platform/localizations/common/localizat
import { DialogChannelClient } from 'vs/platform/dialogs/common/dialogIpc';
import { IDialogService } from 'vs/platform/dialogs/common/dialogs';
import { IDisposable, dispose } from 'vs/base/common/lifecycle';
import { IDownloadService } from 'vs/platform/download/common/download';
import { DownloadServiceChannelClient } from 'vs/platform/download/node/downloadIpc';
export interface ISharedProcessConfiguration {
readonly machineId: string;
@@ -84,9 +86,13 @@ function main(server: Server, initData: ISharedProcessInitData, configuration: I
const activeWindowManager = new ActiveWindowManager(windowsService);
const route = () => activeWindowManager.getActiveClientId();
const dialogChannel = server.getChannel('dialog', { routeCall: route, routeEvent: route });
services.set(IDialogService, new DialogChannelClient(dialogChannel));
const downloadChannel = server.getChannel('download', { routeCall: route, routeEvent: route });
services.set(IDownloadService, new DownloadServiceChannelClient(downloadChannel));
const instantiationService = new InstantiationService(services);
instantiationService.invokeFunction(accessor => {