Add flag to install an extension from the command line (#504)
This commit is contained in:
@ -158,6 +158,14 @@ index 6fd8249..04c0933 100644
|
||||
+ backupMainService.initialize().catch(console.error);
|
||||
@@ -223,0 +236 @@ async function handshake(configuration: ISharedProcessConfiguration): Promise<vo
|
||||
+startup({ machineId: "1" });
|
||||
diff --git a/src/vs/code/node/cli.ts b/src/vs/code/node/cli.ts
|
||||
index 1f8b17a..2a875f9 100644
|
||||
--- a/src/vs/code/node/cli.ts
|
||||
+++ b/src/vs/code/node/cli.ts
|
||||
@@ -43,0 +44,3 @@ export async function main(argv: string[]): Promise<any> {
|
||||
+ const cli = await new Promise<IMainCli>((c, e) => require(['vs/code/node/cliProcessMain'], c, e));
|
||||
+ await cli.main(args);
|
||||
+ return; // Always just do this for now.
|
||||
diff --git a/src/vs/editor/browser/config/configuration.ts b/src/vs/editor/browser/config/configuration.ts
|
||||
index f97a692..0206957 100644
|
||||
--- a/src/vs/editor/browser/config/configuration.ts
|
||||
|
Reference in New Issue
Block a user