From 6751c827cc317184d196db962906377928f0b172 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Mon, 19 Dec 2022 10:23:15 -0700 Subject: [PATCH] chore: update disable-builtin-ext-update.diff If my logic is right, then this patch is now simplified thanks to this: https://github.com/microsoft/vscode/blob/1.74.1/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts#L1238 --- patches/disable-builtin-ext-update.diff | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/patches/disable-builtin-ext-update.diff b/patches/disable-builtin-ext-update.diff index 2b4cb2942..eea53da0d 100644 --- a/patches/disable-builtin-ext-update.diff +++ b/patches/disable-builtin-ext-update.diff @@ -18,14 +18,3 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/extensions/browser/extens if (!this.local.preRelease && this.gallery.properties.isPreReleaseVersion) { return false; } -@@ -1237,6 +1241,10 @@ export class ExtensionsWorkbenchService - // Skip if check updates only for builtin extensions and current extension is not builtin. - continue; - } -+ if (installed.type !== ExtensionType.User) { -+ // Never update builtin extensions. -+ continue; -+ } - if (installed.isBuiltin && (!installed.local?.identifier.uuid || (!isWeb && this.productService.quality === 'stable'))) { - // Skip checking updates for a builtin extension if it does not has Marketplace identifier or the current product is VS Code Desktop stable. - continue;