Skip to content

Commit eeb5735

Browse files
author
Joe Previte
committed
chore: refresh local-storage patch
1 parent 86ca662 commit eeb5735

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

patches/local-storage.diff

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
2020
===================================================================
2121
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
2222
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
23-
@@ -289,6 +289,7 @@ export class WebClientServer {
23+
@@ -292,6 +292,7 @@ export class WebClientServer {
2424
enableSmokeTestDriver: this._environmentService.driverHandle === 'web' ? true : undefined,
2525
logLevel: this._logService.getLevel(),
2626
},
2727
+ userDataPath: this._environmentService.userDataPath,
2828
settingsSyncOptions: !this._environmentService.isBuilt && this._environmentService.args['enable-sync'] ? { enabled: true } : undefined,
29-
productConfiguration: <Partial<IProductConfiguration>>{
30-
rootEndpoint: base,
29+
enableWorkspaceTrust: !this._environmentService.args['disable-workspace-trust'],
30+
folderUri: resolveWorkspaceURI(this._environmentService.args['default-folder']),
3131
Index: code-server/lib/vscode/src/vs/workbench/browser/web.api.ts
3232
===================================================================
3333
--- code-server.orig/lib/vscode/src/vs/workbench/browser/web.api.ts
3434
+++ code-server/lib/vscode/src/vs/workbench/browser/web.api.ts
35-
@@ -205,6 +205,11 @@ export interface IWorkbenchConstructionO
35+
@@ -210,6 +210,11 @@ export interface IWorkbenchConstructionO
3636
*/
3737
readonly configurationDefaults?: Record<string, any>;
3838

@@ -52,7 +52,7 @@ Index: code-server/lib/vscode/src/vs/workbench/services/environment/browser/envi
5252
get logFile(): URI { return joinPath(this.logsHome, 'window.log'); }
5353

5454
@memoize
55-
- get userRoamingDataHome(): URI { return URI.file('/User').with({ scheme: Schemas.userData }); }
55+
- get userRoamingDataHome(): URI { return URI.file('/User').with({ scheme: Schemas.vscodeUserData }); }
5656
+ get userRoamingDataHome(): URI { return joinPath(URI.file(this.userDataPath).with({ scheme: Schemas.vscodeRemote }), 'User'); }
5757
+
5858
+ get userDataPath(): string {

0 commit comments

Comments
 (0)