@@ -108,7 +108,7 @@ index 4f93e06df0..ae63e64a7f 100644
108
108
});
109
109
}
110
110
diff --git a/src/vs/base/common/platform.ts b/src/vs/base/common/platform.ts
111
- index 07759dffe5..9148d7c1f0 100644
111
+ index a657f4a4d9..76ae76127f 100644
112
112
--- a/src/vs/base/common/platform.ts
113
113
+++ b/src/vs/base/common/platform.ts
114
114
@@ -54,8 +54,18 @@ if (typeof navigator === 'object' && !isElectronRenderer) {
@@ -133,10 +133,10 @@ index 07759dffe5..9148d7c1f0 100644
133
133
_isWindows = (process.platform === 'win32');
134
134
_isMacintosh = (process.platform === 'darwin');
135
135
diff --git a/src/vs/code/browser/workbench/workbench.html b/src/vs/code/browser/workbench/workbench.html
136
- index 44f67f0a0b..00fc1deea8 100644
136
+ index 1d9a0b8308..d8204187c6 100644
137
137
--- a/src/vs/code/browser/workbench/workbench.html
138
138
+++ b/src/vs/code/browser/workbench/workbench.html
139
- @@ -18 ,10 +18 ,11 @@
139
+ @@ -28 ,10 +28 ,11 @@
140
140
141
141
<!-- Workarounds/Hacks (remote user data uri) -->
142
142
<meta id="vscode-remote-user-data-uri" data-settings="{{REMOTE_USER_DATA_URI}}">
@@ -217,7 +217,7 @@ index 2f09f53e43..ca969f19f6 100644
217
217
});
218
218
})();
219
219
diff --git a/src/vs/platform/environment/common/environment.ts b/src/vs/platform/environment/common/environment.ts
220
- index 3b45568e1b..aebe04ccfe 100644
220
+ index cfb931c013..0767c9dad8 100644
221
221
--- a/src/vs/platform/environment/common/environment.ts
222
222
+++ b/src/vs/platform/environment/common/environment.ts
223
223
@@ -82,6 +82,8 @@ export interface ParsedArgs {
@@ -237,10 +237,10 @@ index 3b45568e1b..aebe04ccfe 100644
237
237
+ extraBuiltinExtensionPaths: string[];
238
238
}
239
239
diff --git a/src/vs/platform/environment/node/environmentService.ts b/src/vs/platform/environment/node/environmentService.ts
240
- index a07c4c8f48..028ed19657 100644
240
+ index 3eb487a5c4..14c1a2d022 100644
241
241
--- a/src/vs/platform/environment/node/environmentService.ts
242
242
+++ b/src/vs/platform/environment/node/environmentService.ts
243
- @@ -264 ,6 +264 ,15 @@ export class EnvironmentService implements IEnvironmentService {
243
+ @@ -263 ,6 +263 ,15 @@ export class EnvironmentService implements IEnvironmentService {
244
244
245
245
get driverHandle(): string | undefined { return this._args['driver']; }
246
246
get driverVerbose(): boolean { return !!this._args['driver-verbose']; }
@@ -257,7 +257,7 @@ index a07c4c8f48..028ed19657 100644
257
257
constructor(private _args: ParsedArgs, private _execPath: string) {
258
258
if (!process.env['VSCODE_LOGS']) {
259
259
diff --git a/src/vs/platform/extensionManagement/node/extensionManagementService.ts b/src/vs/platform/extensionManagement/node/extensionManagementService.ts
260
- index 7d0b568fc7..23ab257b42 100644
260
+ index bab2df5a3f..5a4ebe24e7 100644
261
261
--- a/src/vs/platform/extensionManagement/node/extensionManagementService.ts
262
262
+++ b/src/vs/platform/extensionManagement/node/extensionManagementService.ts
263
263
@@ -731,11 +731,15 @@ export class ExtensionManagementService extends Disposable implements IExtension
@@ -331,7 +331,7 @@ index 7d0b568fc7..23ab257b42 100644
331
331
const toRemove: ILocalExtension[] = [];
332
332
333
333
diff --git a/src/vs/platform/localizations/electron-browser/localizationsService.ts b/src/vs/platform/localizations/electron-browser/localizationsService.ts
334
- index add4dfb2fc..18fc71df51 100644
334
+ index 57e62509c5..c2ea449c79 100644
335
335
--- a/src/vs/platform/localizations/electron-browser/localizationsService.ts
336
336
+++ b/src/vs/platform/localizations/electron-browser/localizationsService.ts
337
337
@@ -6,7 +6,7 @@
@@ -340,10 +340,10 @@ index add4dfb2fc..18fc71df51 100644
340
340
import { ILocalizationsService, LanguageType } from 'vs/platform/localizations/common/localizations';
341
341
- import { ISharedProcessService } from 'vs/platform/ipc/electron-browser/sharedProcessService';
342
342
+ import { IRemoteAgentService } from 'vs/workbench/services/remote/common/remoteAgentService';
343
- import { ServiceIdentifier } from 'vs/platform/instantiation/common/instantiation';
344
343
345
344
export class LocalizationsService implements ILocalizationsService {
346
- @@ -15,8 +15,8 @@ export class LocalizationsService implements ILocalizationsService {
345
+
346
+ @@ -14,8 +14,8 @@ export class LocalizationsService implements ILocalizationsService {
347
347
348
348
private channel: IChannel;
349
349
@@ -355,7 +355,7 @@ index add4dfb2fc..18fc71df51 100644
355
355
356
356
get onDidLanguagesChange(): Event<void> { return this.channel.listen('onDidLanguagesChange'); }
357
357
diff --git a/src/vs/platform/log/common/logIpc.ts b/src/vs/platform/log/common/logIpc.ts
358
- index 9f68b645b6..1e224cc29a 100644
358
+ index 5f631b8b9d..d145190881 100644
359
359
--- a/src/vs/platform/log/common/logIpc.ts
360
360
+++ b/src/vs/platform/log/common/logIpc.ts
361
361
@@ -26,6 +26,7 @@ export class LogLevelSetterChannel implements IServerChannel {
@@ -410,7 +410,7 @@ index 6b24ec0781..43dd9c12c8 100644
410
410
-
411
411
-
412
412
diff --git a/src/vs/platform/update/electron-browser/updateService.ts b/src/vs/platform/update/electron-browser/updateService.ts
413
- index bd8fa6cc18..cf6108a57b 100644
413
+ index fe6e5be934..4b77f9953b 100644
414
414
--- a/src/vs/platform/update/electron-browser/updateService.ts
415
415
+++ b/src/vs/platform/update/electron-browser/updateService.ts
416
416
@@ -6,7 +6,7 @@
@@ -419,10 +419,10 @@ index bd8fa6cc18..cf6108a57b 100644
419
419
import { IUpdateService, State } from 'vs/platform/update/common/update';
420
420
- import { IMainProcessService } from 'vs/platform/ipc/electron-browser/mainProcessService';
421
421
+ import { IRemoteAgentService } from 'vs/workbench/services/remote/common/remoteAgentService';
422
- import { ServiceIdentifier } from 'vs/platform/instantiation/common/instantiation';
423
422
424
423
export class UpdateService implements IUpdateService {
425
- @@ -21,8 +21,8 @@ export class UpdateService implements IUpdateService {
424
+
425
+ @@ -20,8 +20,8 @@ export class UpdateService implements IUpdateService {
426
426
427
427
private channel: IChannel;
428
428
@@ -434,7 +434,7 @@ index bd8fa6cc18..cf6108a57b 100644
434
434
// always set this._state as the state changes
435
435
this.onStateChange(state => this._state = state);
436
436
diff --git a/src/vs/platform/update/electron-main/abstractUpdateService.ts b/src/vs/platform/update/electron-main/abstractUpdateService.ts
437
- index d789bf4e09..e25c9c9d6a 100644
437
+ index 7ae90deb9b..69f98f83be 100644
438
438
--- a/src/vs/platform/update/electron-main/abstractUpdateService.ts
439
439
+++ b/src/vs/platform/update/electron-main/abstractUpdateService.ts
440
440
@@ -6,7 +6,6 @@
@@ -525,7 +525,7 @@ index b99f800164..eb82443e74 100644
525
525
526
526
// Make the window active to handle the drop properly within
527
527
diff --git a/src/vs/workbench/browser/layout.ts b/src/vs/workbench/browser/layout.ts
528
- index 9fdeeeb1a1..db2dc002c3 100644
528
+ index 80ae6faffc..511c05db2c 100644
529
529
--- a/src/vs/workbench/browser/layout.ts
530
530
+++ b/src/vs/workbench/browser/layout.ts
531
531
@@ -260,7 +260,7 @@ export abstract class Layout extends Disposable implements IWorkbenchLayoutServi
@@ -555,7 +555,7 @@ index 9fdeeeb1a1..db2dc002c3 100644
555
555
}
556
556
557
557
diff --git a/src/vs/workbench/browser/web.main.ts b/src/vs/workbench/browser/web.main.ts
558
- index f5944ce974..f2094de18b 100644
558
+ index 2ef453c688..212e29ec8b 100644
559
559
--- a/src/vs/workbench/browser/web.main.ts
560
560
+++ b/src/vs/workbench/browser/web.main.ts
561
561
@@ -45,6 +45,7 @@ import { FileLogService } from 'vs/platform/log/common/fileLogService';
@@ -583,7 +583,7 @@ index f5944ce974..f2094de18b 100644
583
583
if (!this.configuration.userDataProvider) {
584
584
const remoteUserDataUri = this.getRemoteUserDataUri();
585
585
diff --git a/src/vs/workbench/browser/web.simpleservices.ts b/src/vs/workbench/browser/web.simpleservices.ts
586
- index 895a8a0393..6530b66cbb 100644
586
+ index caf44465e7..e6baaf5406 100644
587
587
--- a/src/vs/workbench/browser/web.simpleservices.ts
588
588
+++ b/src/vs/workbench/browser/web.simpleservices.ts
589
589
@@ -33,6 +33,7 @@ import { localize } from 'vs/nls';
@@ -684,10 +684,10 @@ index 0c368120df..52ece63cd0 100644
684
684
// Check for dropped external files to be folders
685
685
const result = await this.fileService.resolveAll(droppedResources);
686
686
diff --git a/src/vs/workbench/contrib/remote/common/remote.contribution.ts b/src/vs/workbench/contrib/remote/common/remote.contribution.ts
687
- index 404f5a2a78..a04c825fa2 100644
687
+ index 8ec38b3795..467c099d25 100644
688
688
--- a/src/vs/workbench/contrib/remote/common/remote.contribution.ts
689
689
+++ b/src/vs/workbench/contrib/remote/common/remote.contribution.ts
690
- @@ -79 ,7 +79 ,8 @@ class RemoteChannelsContribution extends Disposable implements IWorkbenchContrib
690
+ @@ -80 ,7 +80 ,8 @@ class RemoteChannelsContribution extends Disposable implements IWorkbenchContrib
691
691
const connection = remoteAgentService.getConnection();
692
692
if (connection) {
693
693
const logLevelClient = new LogLevelSetterChannelClient(connection.getChannel('loglevel'));
@@ -698,24 +698,24 @@ index 404f5a2a78..a04c825fa2 100644
698
698
}
699
699
}
700
700
diff --git a/src/vs/workbench/contrib/resources/browser/resourceServiceWorker.ts b/src/vs/workbench/contrib/resources/browser/resourceServiceWorker.ts
701
- index 3534ef147d..216dc0604f 100644
701
+ index dfad93af11..6da087895f 100644
702
702
--- a/src/vs/workbench/contrib/resources/browser/resourceServiceWorker.ts
703
703
+++ b/src/vs/workbench/contrib/resources/browser/resourceServiceWorker.ts
704
- @@ -34 ,7 +34 ,8 @@ self.addEventListener('activate', event => {
704
+ @@ -85 ,7 +85 ,8 @@ self.addEventListener('activate', event => {
705
705
//#region --- fetching/caching
706
706
707
707
const _cacheName = 'vscode-extension-resources';
708
708
- const _resourcePrefix = '/vscode-remote-resource';
709
- + const rootPath = self.location.pathname.replace(/\/out\/vs\/workbench\/contrib\/resources\/browser\/resourceServiceWorkerMain.js$/, '');
709
+ + const rootPath = (<any> self) .location.pathname.replace(/\/out\/vs\/workbench\/contrib\/resources\/browser\/resourceServiceWorkerMain.js$/, '');
710
710
+ const _resourcePrefix = `${rootPath}/vscode-remote-resources`;
711
711
const _pendingFetch = new Map<string, Function>();
712
712
713
713
self.addEventListener('message', event => {
714
714
diff --git a/src/vs/workbench/contrib/resources/browser/resourceServiceWorkerClient.ts b/src/vs/workbench/contrib/resources/browser/resourceServiceWorkerClient.ts
715
- index 326dfb49ee..adf72747bd 100644
715
+ index 935753f002..75c08ee013 100644
716
716
--- a/src/vs/workbench/contrib/resources/browser/resourceServiceWorkerClient.ts
717
717
+++ b/src/vs/workbench/contrib/resources/browser/resourceServiceWorkerClient.ts
718
- @@ -18 ,7 +18 ,11 @@ class ResourceServiceWorker {
718
+ @@ -15 ,7 +15 ,11 @@ class ResourceServiceWorker {
719
719
constructor(
720
720
@ILogService private readonly _logService: ILogService,
721
721
) {
@@ -728,7 +728,7 @@ index 326dfb49ee..adf72747bd 100644
728
728
this._logService.trace('SW#reg', reg);
729
729
return reg.update();
730
730
}).then(() => {
731
- @@ -45 ,5 +49 ,3 @@ Registry.as<IWorkbenchContributionsRegistry>(Extensions.Workbench).registerWorkb
731
+ @@ -32 ,5 +36 ,3 @@ Registry.as<IWorkbenchContributionsRegistry>(Extensions.Workbench).registerWorkb
732
732
ResourceServiceWorker,
733
733
LifecyclePhase.Ready
734
734
);
@@ -1017,10 +1017,10 @@ index 8493b87f2c..b5c47ea23f 100644
1017
1017
telemetryFrom: 'walkThrough'
1018
1018
};
1019
1019
diff --git a/src/vs/workbench/services/environment/browser/environmentService.ts b/src/vs/workbench/services/environment/browser/environmentService.ts
1020
- index 7c3b6ae53e..18dec6effa 100644
1020
+ index 6895dee469..762b8e0ee9 100644
1021
1021
--- a/src/vs/workbench/services/environment/browser/environmentService.ts
1022
1022
+++ b/src/vs/workbench/services/environment/browser/environmentService.ts
1023
- @@ -177 ,6 +177 ,8 @@ export class BrowserWorkbenchEnvironmentService implements IWorkbenchEnvironment
1023
+ @@ -176 ,6 +176 ,8 @@ export class BrowserWorkbenchEnvironmentService implements IWorkbenchEnvironment
1024
1024
driverHandle?: string;
1025
1025
driverVerbose: boolean;
1026
1026
galleryMachineIdResource?: URI;
0 commit comments