Skip to content

Commit 5b93f3f

Browse files
author
Micah Zoltu
committed
Add app-name to serevr options/args.
1 parent e898621 commit 5b93f3f

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

patches/app-name.diff

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,26 @@ VS Code's web bootstrap, so set `nameShort`/`nameLong` from the existing
88
This keeps the patch minimal and makes browser tab titles honor `--app-name`
99
without changing unrelated product metadata.
1010

11+
Index: code-server/lib/vscode/src/vs/server/node/serverEnvironmentService.ts
12+
===================================================================
13+
--- code-server.orig/lib/vscode/src/vs/server/node/serverEnvironmentService.ts
14+
+++ code-server/lib/vscode/src/vs/server/node/serverEnvironmentService.ts
15+
@@ -24,6 +24,7 @@ export const serverOptions: OptionDescri
16+
'disable-getting-started-override': { type: 'boolean' },
17+
'locale': { type: 'string' },
18+
'link-protection-trusted-domains': { type: 'string[]' },
19+
+ 'app-name': { type: 'string' },
20+
21+
/* ----- server setup ----- */
22+
23+
@@ -120,6 +121,7 @@ export interface ServerParsedArgs {
24+
'disable-getting-started-override'?: boolean,
25+
'locale'?: string
26+
'link-protection-trusted-domains'?: string[],
27+
+ 'app-name'?: string,
28+
29+
/* ----- server setup ----- */
30+
1131
Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
1232
===================================================================
1333
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts

0 commit comments

Comments
 (0)