From 033a6bdf30e0a4d144a64d90787ce668b5d8e916 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Wed, 5 Apr 2023 10:00:24 +0200 Subject: [PATCH] fix: add missing neverShowAgain [skip ci] --- patches/fix-eol-banner.patch | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/patches/fix-eol-banner.patch b/patches/fix-eol-banner.patch index de5f3f9..8b8216f 100644 --- a/patches/fix-eol-banner.patch +++ b/patches/fix-eol-banner.patch @@ -48,7 +48,7 @@ index b120c94..1bb2b88 100644 + toJSON(): object { diff --git a/src/vs/workbench/electron-sandbox/window.ts b/src/vs/workbench/electron-sandbox/window.ts -index cf6af9d..1344cb5 100644 +index cf6af9d..108ce8f 100644 --- a/src/vs/workbench/electron-sandbox/window.ts +++ b/src/vs/workbench/electron-sandbox/window.ts @@ -725,3 +725,4 @@ export class NativeWindow extends Disposable { @@ -57,6 +57,12 @@ index cf6af9d..1344cb5 100644 + icon: Codicon.warning, + neverShowAgain: { id: 'windowseol', isSecondary: true, scope: NeverShowAgainScope.APPLICATION } }); +@@ -764,3 +765,4 @@ export class NativeWindow extends Disposable { + actions, +- icon: Codicon.warning ++ icon: Codicon.warning, ++ neverShowAgain: { id: 'macoseol', isSecondary: true, scope: NeverShowAgainScope.APPLICATION } + }); diff --git a/src/vs/workbench/services/banner/browser/bannerService.ts b/src/vs/workbench/services/banner/browser/bannerService.ts index 639b1b2..70e8847 100644 --- a/src/vs/workbench/services/banner/browser/bannerService.ts