@@ -12,7 +12,7 @@ Index: code-server/lib/vscode/src/vs/workbench/browser/web.api.ts
1212===================================================================
1313--- code-server.orig/lib/vscode/src/vs/workbench/browser/web.api.ts
1414+++ code-server/lib/vscode/src/vs/workbench/browser/web.api.ts
15- @@ -250 ,6 +250 ,11 @@ export interface IWorkbenchConstructionO
15+ @@ -267 ,6 +267 ,11 @@ export interface IWorkbenchConstructionO
1616 */
1717 readonly userDataPath?: string
1818
@@ -52,7 +52,7 @@ Index: code-server/lib/vscode/src/vs/workbench/services/environment/browser/envi
5252+ }
5353+
5454 @memoize
55- get settingsResource (): URI { return joinPath(this.userRoamingDataHome, 'settings .json'); }
55+ get argvResource (): URI { return joinPath(this.userRoamingDataHome, 'argv .json'); }
5656
5757Index: code-server/lib/vscode/src/vs/server/node/serverEnvironmentService.ts
5858===================================================================
@@ -66,7 +66,7 @@ Index: code-server/lib/vscode/src/vs/server/node/serverEnvironmentService.ts
6666
6767 /* ----- server setup ----- */
6868
69- @@ -94 ,6 +95 ,7 @@ export interface ServerParsedArgs {
69+ @@ -95 ,6 +96 ,7 @@ export interface ServerParsedArgs {
7070 /* ----- code-server ----- */
7171 'disable-update-check'?: boolean;
7272 'auth'?: string
@@ -78,7 +78,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
7878===================================================================
7979--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
8080+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
81- @@ -300 ,6 +300 ,7 @@ export class WebClientServer {
81+ @@ -304 ,6 +304 ,7 @@ export class WebClientServer {
8282 remoteAuthority,
8383 webviewEndpoint: vscodeBase + this._staticRoute + '/out/vs/workbench/contrib/webview/browser/pre',
8484 userDataPath: this._environmentService.userDataPath,
@@ -93,7 +93,7 @@ Index: code-server/lib/vscode/src/vs/workbench/browser/contextkeys.ts
9393@@ -7,12 +7,11 @@ import { Event } from 'vs/base/common/ev
9494 import { Disposable } from 'vs/base/common/lifecycle';
9595 import { IContextKeyService, IContextKey } from 'vs/platform/contextkey/common/contextkey';
96- import { InputFocusedContext, IsMacContext, IsLinuxContext, IsWindowsContext, IsWebContext, IsMacNativeContext, IsDevelopmentContext, IsIOSContext } from 'vs/platform/contextkey/common/contextkeys';
96+ import { InputFocusedContext, IsMacContext, IsLinuxContext, IsWindowsContext, IsWebContext, IsMacNativeContext, IsDevelopmentContext, IsIOSContext, ProductQualityContext } from 'vs/platform/contextkey/common/contextkeys';
9797- import { SplitEditorsVertically, InEditorZenModeContext, ActiveEditorCanRevertContext, ActiveEditorGroupLockedContext, ActiveEditorCanSplitInGroupContext, SideBySideEditorActiveContext, AuxiliaryBarVisibleContext, SideBarVisibleContext, PanelAlignmentContext, PanelMaximizedContext, PanelVisibleContext, ActiveEditorContext, EditorsVisibleContext, TextCompareEditorVisibleContext, TextCompareEditorActiveContext, ActiveEditorGroupEmptyContext, MultipleEditorGroupsContext, EditorTabsVisibleContext, IsCenteredLayoutContext, ActiveEditorGroupIndexContext, ActiveEditorGroupLastContext, ActiveEditorReadonlyContext, EditorAreaVisibleContext, ActiveEditorAvailableEditorIdsContext, DirtyWorkingCopiesContext, EmptyWorkspaceSupportContext, EnterMultiRootWorkspaceSupportContext, HasWebFileSystemAccess, IsFullscreenContext, OpenFolderWorkspaceSupportContext, RemoteNameContext, VirtualWorkspaceContext, WorkbenchStateContext, WorkspaceFolderCountContext, PanelPositionContext } from 'vs/workbench/common/contextkeys';
9898+import { SplitEditorsVertically, InEditorZenModeContext, ActiveEditorCanRevertContext, ActiveEditorGroupLockedContext, ActiveEditorCanSplitInGroupContext, SideBySideEditorActiveContext, AuxiliaryBarVisibleContext, SideBarVisibleContext, PanelAlignmentContext, PanelMaximizedContext, PanelVisibleContext, ActiveEditorContext, EditorsVisibleContext, TextCompareEditorVisibleContext, TextCompareEditorActiveContext, ActiveEditorGroupEmptyContext, MultipleEditorGroupsContext, EditorTabsVisibleContext, IsCenteredLayoutContext, ActiveEditorGroupIndexContext, ActiveEditorGroupLastContext, ActiveEditorReadonlyContext, EditorAreaVisibleContext, ActiveEditorAvailableEditorIdsContext, DirtyWorkingCopiesContext, EmptyWorkspaceSupportContext, EnterMultiRootWorkspaceSupportContext, HasWebFileSystemAccess, IsFullscreenContext, OpenFolderWorkspaceSupportContext, RemoteNameContext, VirtualWorkspaceContext, WorkbenchStateContext, WorkspaceFolderCountContext, PanelPositionContext, IsEnabledFileDownloads } from 'vs/workbench/common/contextkeys';
9999 import { TEXT_DIFF_EDITOR_ID, EditorInputCapabilities, SIDE_BY_SIDE_EDITOR_ID, DEFAULT_EDITOR_ASSOCIATION } from 'vs/workbench/common/editor';
@@ -104,24 +104,24 @@ Index: code-server/lib/vscode/src/vs/workbench/browser/contextkeys.ts
104104 import { IEditorService } from 'vs/workbench/services/editor/common/editorService';
105105 import { WorkbenchState, IWorkspaceContextService } from 'vs/platform/workspace/common/workspace';
106106 import { IWorkbenchLayoutService, Parts, positionToString } from 'vs/workbench/services/layout/browser/layoutService';
107- @@ -24,6 +23,7 @@ import { IEditorResolverService } from '
108- import { IPaneCompositePartService } from 'vs/workbench/services/panecomposite/browser/panecomposite';
107+ @@ -25,6 +24,7 @@ import { IPaneCompositePartService } fro
109108 import { Schemas } from 'vs/base/common/network';
110109 import { WebFileSystemAccess } from 'vs/platform/files/browser/webFileSystemAccess';
111- + import { IBrowserWorkbenchEnvironmentService } from '../services/environment/browser/environmentService';
110+ import { IProductService } from 'vs/platform/product/common/productService';
111+ + import { IBrowserWorkbenchEnvironmentService } from 'vs/workbench/services/environment/browser/environmentService';
112112
113113 export class WorkbenchContextKeysHandler extends Disposable {
114114 private inputFocusedContext: IContextKey<boolean>;
115- @@ -75 ,7 +75 ,7 @@ export class WorkbenchContextKeysHandler
115+ @@ -76 ,7 +76 ,7 @@ export class WorkbenchContextKeysHandler
116116 @IContextKeyService private readonly contextKeyService: IContextKeyService,
117117 @IWorkspaceContextService private readonly contextService: IWorkspaceContextService,
118118 @IConfigurationService private readonly configurationService: IConfigurationService,
119119- @IWorkbenchEnvironmentService private readonly environmentService: IWorkbenchEnvironmentService,
120120+ @IBrowserWorkbenchEnvironmentService private readonly environmentService: IBrowserWorkbenchEnvironmentService,
121+ @IProductService private readonly productService: IProductService,
121122 @IEditorService private readonly editorService: IEditorService,
122123 @IEditorResolverService private readonly editorResolverService: IEditorResolverService,
123- @IEditorGroupsService private readonly editorGroupService: IEditorGroupsService,
124- @@ -194,6 +194,9 @@ export class WorkbenchContextKeysHandler
124+ @@ -199,6 +199,9 @@ export class WorkbenchContextKeysHandler
125125 this.auxiliaryBarVisibleContext = AuxiliaryBarVisibleContext.bindTo(this.contextKeyService);
126126 this.auxiliaryBarVisibleContext.set(this.layoutService.isVisible(Parts.AUXILIARYBAR_PART));
127127
0 commit comments