Skip to content

Commit 1d0b235

Browse files
committed
Use client OS to set shell class
1 parent 8c95d38 commit 1d0b235

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/vscode.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,12 +528,12 @@ index bc02c150a7..4ef622f669 100644
528528
@@ -632 +632,0 @@ configurationRegistry.registerConfiguration({
529529
-
530530
diff --git a/src/vs/workbench/electron-browser/shell.ts b/src/vs/workbench/electron-browser/shell.ts
531-
index fd95939506..5ed6fb52b2 100644
531+
index fd95939506..2f32077a15 100644
532532
--- a/src/vs/workbench/electron-browser/shell.ts
533533
+++ b/src/vs/workbench/electron-browser/shell.ts
534534
@@ -548 +548 @@ export class Shell extends Disposable {
535535
- addClasses(this.container, 'monaco-shell', platform.isWindows ? 'windows' : platform.isLinux ? 'linux' : 'mac');
536-
+ addClasses(this.container, 'web monaco-shell', platform.isWindows ? 'windows' : platform.isLinux ? 'linux' : 'mac');
536+
+ addClasses(this.container, 'web monaco-shell', browser.isWindows ? 'windows' : browser.isLinux ? 'linux' : 'mac');
537537
diff --git a/src/vs/workbench/electron-browser/window.ts b/src/vs/workbench/electron-browser/window.ts
538538
index c0aff6bd4b..15af61a9ec 100644
539539
--- a/src/vs/workbench/electron-browser/window.ts

0 commit comments

Comments
 (0)