Skip to content

Commit

Permalink
don't show release notes on web (#180937)
Browse files Browse the repository at this point in the history
fixes #179536
  • Loading branch information
joaomoreno authored Apr 26, 2023
1 parent 5e4d633 commit a7cfec3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/vs/workbench/contrib/update/browser/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { INotificationService, Severity } from 'vs/platform/notification/common/
import { IDialogService } from 'vs/platform/dialogs/common/dialogs';
import { IBrowserWorkbenchEnvironmentService } from 'vs/workbench/services/environment/browser/environmentService';
import { ReleaseNotesManager } from 'vs/workbench/contrib/update/browser/releaseNotesEditor';
import { isWindows } from 'vs/base/common/platform';
import { isWeb, isWindows } from 'vs/base/common/platform';
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';
import { RawContextKey, IContextKey, IContextKeyService, ContextKeyExpr } from 'vs/platform/contextkey/common/contextkey';
import { MenuRegistry, MenuId, registerAction2, Action2 } from 'vs/platform/actions/common/actions';
Expand Down Expand Up @@ -117,6 +117,10 @@ export class ProductContribution implements IWorkbenchContribution {
downloadUrlKey.set(productService.downloadUrl);
}

if (isWeb) {
return;
}

hostService.hadLastFocus().then(async hadLastFocus => {
if (!hadLastFocus) {
return;
Expand Down

0 comments on commit a7cfec3

Please sign in to comment.