diff --git a/src/vs/workbench/electron-sandbox/window.ts b/src/vs/workbench/electron-sandbox/window.ts index a32654bdac66b8..d2ec8ca76f92c1 100644 --- a/src/vs/workbench/electron-sandbox/window.ts +++ b/src/vs/workbench/electron-sandbox/window.ts @@ -717,6 +717,22 @@ export class NativeWindow extends Disposable { } ); } + + if (parseInt(version[0]) === 6 && parseInt(version[1]) === 2 || parseInt(version[0]) === 6 && parseInt(version[1]) === 3) { + const message = localize('windows 8 eol', "{0} o Windows 8/8.1 will no longer receive any further updates.", this.productService.nameLong); + + this.notificationService.prompt( + Severity.Warning, + message, + [{ + label: localize('learnMore', "Learn More"), + run: () => this.openerService.open(URI.parse('https://aka.ms/vscode-faq-win8')) + }], + { + neverShowAgain: { id: 'windows8eol', isSecondary: true, scope: NeverShowAgainScope.APPLICATION } + } + ); + } } // MacOS 10.11 and 10.12 warning