Skip to content

Commit a7cfec3

Browse files
authored
don't show release notes on web (#180937)
fixes #179536
1 parent 5e4d633 commit a7cfec3

File tree

1 file changed

+5
-1
lines changed
  • src/vs/workbench/contrib/update/browser

1 file changed

+5
-1
lines changed

src/vs/workbench/contrib/update/browser/update.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { INotificationService, Severity } from 'vs/platform/notification/common/
1717
import { IDialogService } from 'vs/platform/dialogs/common/dialogs';
1818
import { IBrowserWorkbenchEnvironmentService } from 'vs/workbench/services/environment/browser/environmentService';
1919
import { ReleaseNotesManager } from 'vs/workbench/contrib/update/browser/releaseNotesEditor';
20-
import { isWindows } from 'vs/base/common/platform';
20+
import { isWeb, isWindows } from 'vs/base/common/platform';
2121
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';
2222
import { RawContextKey, IContextKey, IContextKeyService, ContextKeyExpr } from 'vs/platform/contextkey/common/contextkey';
2323
import { MenuRegistry, MenuId, registerAction2, Action2 } from 'vs/platform/actions/common/actions';
@@ -117,6 +117,10 @@ export class ProductContribution implements IWorkbenchContribution {
117117
downloadUrlKey.set(productService.downloadUrl);
118118
}
119119

120+
if (isWeb) {
121+
return;
122+
}
123+
120124
hostService.hadLastFocus().then(async hadLastFocus => {
121125
if (!hadLastFocus) {
122126
return;

0 commit comments

Comments
 (0)