@@ -12,7 +12,7 @@ Index: code-server/lib/vscode/src/vs/workbench/browser/web.api.ts
12
12
===================================================================
13
13
--- code-server.orig/lib/vscode/src/vs/workbench/browser/web.api.ts
14
14
+++ 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
16
16
*/
17
17
readonly userDataPath?: string
18
18
@@ -52,7 +52,7 @@ Index: code-server/lib/vscode/src/vs/workbench/services/environment/browser/envi
52
52
+ }
53
53
+
54
54
@memoize
55
- get settingsResource (): URI { return joinPath(this.userRoamingDataHome, 'settings .json'); }
55
+ get argvResource (): URI { return joinPath(this.userRoamingDataHome, 'argv .json'); }
56
56
57
57
Index: code-server/lib/vscode/src/vs/server/node/serverEnvironmentService.ts
58
58
===================================================================
@@ -66,7 +66,7 @@ Index: code-server/lib/vscode/src/vs/server/node/serverEnvironmentService.ts
66
66
67
67
/* ----- server setup ----- */
68
68
69
- @@ -94 ,6 +95 ,7 @@ export interface ServerParsedArgs {
69
+ @@ -95 ,6 +96 ,7 @@ export interface ServerParsedArgs {
70
70
/* ----- code-server ----- */
71
71
'disable-update-check'?: boolean;
72
72
'auth'?: string
@@ -78,7 +78,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
78
78
===================================================================
79
79
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
80
80
+++ 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 {
82
82
remoteAuthority,
83
83
webviewEndpoint: vscodeBase + this._staticRoute + '/out/vs/workbench/contrib/webview/browser/pre',
84
84
userDataPath: this._environmentService.userDataPath,
@@ -93,7 +93,7 @@ Index: code-server/lib/vscode/src/vs/workbench/browser/contextkeys.ts
93
93
@@ -7,12 +7,11 @@ import { Event } from 'vs/base/common/ev
94
94
import { Disposable } from 'vs/base/common/lifecycle';
95
95
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';
97
97
- 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';
98
98
+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';
99
99
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
104
104
import { IEditorService } from 'vs/workbench/services/editor/common/editorService';
105
105
import { WorkbenchState, IWorkspaceContextService } from 'vs/platform/workspace/common/workspace';
106
106
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
109
108
import { Schemas } from 'vs/base/common/network';
110
109
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';
112
112
113
113
export class WorkbenchContextKeysHandler extends Disposable {
114
114
private inputFocusedContext: IContextKey<boolean>;
115
- @@ -75 ,7 +75 ,7 @@ export class WorkbenchContextKeysHandler
115
+ @@ -76 ,7 +76 ,7 @@ export class WorkbenchContextKeysHandler
116
116
@IContextKeyService private readonly contextKeyService: IContextKeyService,
117
117
@IWorkspaceContextService private readonly contextService: IWorkspaceContextService,
118
118
@IConfigurationService private readonly configurationService: IConfigurationService,
119
119
- @IWorkbenchEnvironmentService private readonly environmentService: IWorkbenchEnvironmentService,
120
120
+ @IBrowserWorkbenchEnvironmentService private readonly environmentService: IBrowserWorkbenchEnvironmentService,
121
+ @IProductService private readonly productService: IProductService,
121
122
@IEditorService private readonly editorService: IEditorService,
122
123
@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
125
125
this.auxiliaryBarVisibleContext = AuxiliaryBarVisibleContext.bindTo(this.contextKeyService);
126
126
this.auxiliaryBarVisibleContext.set(this.layoutService.isVisible(Parts.AUXILIARYBAR_PART));
127
127
0 commit comments