@@ -6,7 +6,7 @@ Index: code-server/lib/vscode/src/vs/server/node/serverServices.ts
66===================================================================
77--- code-server.orig/lib/vscode/src/vs/server/node/serverServices.ts
88+++ code-server/lib/vscode/src/vs/server/node/serverServices.ts
9- @@ -188 ,6 +188 ,9 @@ export async function setupServerService
9+ @@ -192 ,6 +192 ,9 @@ export async function setupServerService
1010 const channel = new ExtensionManagementChannel(extensionManagementService, (ctx: RemoteAgentConnectionContext) => getUriTransformer(ctx.remoteAuthority));
1111 socketServer.registerChannel('extensions', channel);
1212
@@ -94,7 +94,7 @@ Index: code-server/lib/vscode/src/vs/platform/environment/common/environmentServ
9494===================================================================
9595--- code-server.orig/lib/vscode/src/vs/platform/environment/common/environmentService.ts
9696+++ code-server/lib/vscode/src/vs/platform/environment/common/environmentService.ts
97- @@ -105 ,7 +105 ,7 @@ export abstract class AbstractNativeEnvi
97+ @@ -108 ,7 +108 ,7 @@ export abstract class AbstractNativeEnvi
9898 return URI.file(join(vscodePortable, 'argv.json'));
9999 }
100100
@@ -168,15 +168,15 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
168168===================================================================
169169--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
170170+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
171- @@ -26 ,6 +26 ,7 @@ import { URI } from 'vs/base/common/uri'
171+ @@ -27 ,6 +27 ,7 @@ import { URI } from 'vs/base/common/uri'
172172 import { streamToBuffer } from 'vs/base/common/buffer';
173173 import { IProductConfiguration } from 'vs/base/common/product';
174174 import { isString } from 'vs/base/common/types';
175175+ import { getLocaleFromConfig, getNLSConfiguration } from 'vs/server/node/remoteLanguagePacks';
176176
177177 const textMimeType = {
178178 '.html': 'text/html',
179- @@ -277 ,6 +278 ,8 @@ export class WebClientServer {
179+ @@ -280 ,6 +281 ,8 @@ export class WebClientServer {
180180 } : undefined;
181181 const base = relativeRoot(getOriginalUrl(req))
182182 const vscodeBase = relativePath(getOriginalUrl(req))
@@ -185,7 +185,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
185185 const data = (await util.promisify(fs.readFile)(filePath)).toString()
186186 .replace('{{WORKBENCH_WEB_CONFIGURATION}}', escapeAttribute(JSON.stringify({
187187 remoteAuthority,
188- @@ -303 ,7 +306 ,8 @@ export class WebClientServer {
188+ @@ -309 ,7 +312 ,8 @@ export class WebClientServer {
189189 })))
190190 .replace('{{WORKBENCH_AUTH_SESSION}}', () => authSessionInfo ? escapeAttribute(JSON.stringify(authSessionInfo)) : '')
191191 .replace(/{{BASE}}/g, base)
@@ -207,7 +207,7 @@ Index: code-server/lib/vscode/src/vs/server/node/serverEnvironmentService.ts
207207
208208 /* ----- server setup ----- */
209209
210- @@ -90 ,6 +91 ,7 @@ export interface ServerParsedArgs {
210+ @@ -94 ,6 +95 ,7 @@ export interface ServerParsedArgs {
211211 /* ----- code-server ----- */
212212 'disable-update-check'?: boolean;
213213 'auth'?: string
@@ -252,7 +252,7 @@ Index: code-server/lib/vscode/src/vs/workbench/workbench.web.main.ts
252252===================================================================
253253--- code-server.orig/lib/vscode/src/vs/workbench/workbench.web.main.ts
254254+++ code-server/lib/vscode/src/vs/workbench/workbench.web.main.ts
255- @@ -111 ,6 +111 ,10 @@ registerSingleton(IDiagnosticsService, N
255+ @@ -112 ,6 +112 ,10 @@ registerSingleton(IDiagnosticsService, N
256256
257257 //#region --- workbench contributions
258258
0 commit comments