@@ -36,93 +36,9 @@ import { IUriIdentityService } from 'vs/workbench/services/uriIdentity/common/ur
3636
3737//#region Environment
3838
39- < < < << << HEAD
40- export class SimpleNativeWorkbenchEnvironmentService implements INativeWorkbenchEnvironmentService {
41-
42- declare readonly _serviceBrand : undefined ;
43-
44- constructor (
45- readonly configuration : INativeWorkbenchConfiguration
46- ) { }
47-
48- get userRoamingDataHome ( ) : URI { return URI . file ( '/sandbox-user-data-dir' ) . with ( { scheme : Schemas . userData } ) ; }
49- get settingsResource ( ) : URI { return joinPath ( this . userRoamingDataHome , 'settings.json' ) ; }
50- get argvResource ( ) : URI { return joinPath ( this . userRoamingDataHome , 'argv.json' ) ; }
51- get snippetsHome ( ) : URI { return joinPath ( this . userRoamingDataHome , 'snippets' ) ; }
52- get globalStorageHome ( ) : URI { return URI . joinPath ( this . userRoamingDataHome , 'globalStorage' ) ; }
53- get workspaceStorageHome ( ) : URI { return URI . joinPath ( this . userRoamingDataHome , 'workspaceStorage' ) ; }
54- get keybindingsResource ( ) : URI { return joinPath ( this . userRoamingDataHome , 'keybindings.json' ) ; }
55- get logFile ( ) : URI { return joinPath ( this . userRoamingDataHome , 'window.log' ) ; }
56- get untitledWorkspacesHome ( ) : URI { return joinPath ( this . userRoamingDataHome , 'Workspaces' ) ; }
57- get serviceMachineIdResource ( ) : URI { return joinPath ( this . userRoamingDataHome , 'machineid' ) ; }
58- get userDataSyncLogResource ( ) : URI { return joinPath ( this . userRoamingDataHome , 'syncLog' ) ; }
59- get userDataSyncHome ( ) : URI { return joinPath ( this . userRoamingDataHome , 'syncHome' ) ; }
60- get tmpDir ( ) : URI { return joinPath ( this . userRoamingDataHome , 'tmp' ) ; }
61- get logsPath ( ) : string { return joinPath ( this . userRoamingDataHome , 'logs' ) . path ; }
62-
63- sessionId = this . configuration . sessionId ;
64- machineId = this . configuration . machineId ;
65- remoteAuthority = this . configuration . remoteAuthority ;
66- os = { release : 'unknown' } ;
67-
68- options?: IWorkbenchConstructionOptions | undefined ;
69- logExtensionHostCommunication?: boolean | undefined ;
70- extensionEnabledProposedApi?: string [ ] | undefined ;
71- webviewExternalEndpoint: string = undefined ! ;
72- webviewResourceRoot: string = undefined ! ;
73- webviewCspSource: string = undefined ! ;
74- skipReleaseNotes: boolean = undefined ! ;
75- keyboardLayoutResource: URI = undefined ! ;
76- sync: 'on' | 'off' | undefined ;
77- debugExtensionHost: IExtensionHostDebugParams = undefined ! ;
78- debugRenderer = false ;
79- isExtensionDevelopment: boolean = false ;
80- disableExtensions: boolean | string [ ] = [ ] ;
81- extensionDevelopmentLocationURI?: URI [ ] | undefined ;
82- extensionTestsLocationURI?: URI | undefined ;
83- logLevel?: string | undefined ;
84-
85- args: NativeParsedArgs = Object . create ( null ) ;
86-
87- execPath: string = undefined ! ;
88- appRoot: string = undefined ! ;
89- userHome: URI = undefined ! ;
90- appSettingsHome: URI = undefined ! ;
91- userDataPath: string = undefined ! ;
92- machineSettingsResource: URI = undefined ! ;
93-
94- log?: string | undefined ;
95- extHostLogsPath: URI = undefined ! ;
96-
97- installSourcePath: string = undefined ! ;
98-
99- extensionsPath: string = undefined ! ;
100- extensionsDownloadPath: string = undefined ! ;
101- builtinExtensionsPath: string = undefined ! ;
102- extraExtensionPaths: string [ ] = undefined ! ;
103- extraBuiltinExtensionPaths: string [ ] = undefined ! ;
104-
105- driverHandle?: string | undefined ;
106-
107- crashReporterDirectory?: string | undefined ;
108- crashReporterId?: string | undefined ;
109-
110- nodeCachedDataDir?: string | undefined ;
111-
112- verbose = false ;
113- isBuilt = false ;
114-
115- get telemetryLogResource ( ) : URI { return joinPath ( this . userRoamingDataHome , 'telemetry.log' ) ; }
116- disableTelemetry = false ;
117- }
118-
119- //#endregion
120-
121- === === =
12239export const simpleHomeDir = URI . file ( isWindows ? '\\sandbox-home-dir' : '/sandbox-home-dir' ) ;
12340export const simpleTmpDir = URI . file ( isWindows ? '\\sandbox-tmp-dir' : '/sandbox-tmp-dir' ) ;
12441export const simpleUserDataDir = URI . file ( isWindows ? '\\sandbox-user-data-dir' : '/sandbox-user-data-dir' ) ;
125- > >>> >>> 801 aed93200dc0ccf325a09089c911e8e2b612d0
12642
12743//#region Workspace
12844
0 commit comments