71ff747c48
* Update Code to 1.75.0 - getting-started.diff: The way to get an icon's class changed - proxy-uri.diff: The product service is passed in so we can get the proxy URI from that now instead of passing it in separately. * Remove workspace trust test Something in how/when Code displays the trust dialog appears to have changed, failing the test. I am not sure it makes sense for us to be testing upstream code anyway. * Use regular Node for watch Since we spawn the watch script with ts-node it was using ts-node for the web server spawn as well. With latest Code there are for some reason type errors (it cannot find @types/node) but this is already compiled code which already passed type checks; any type errors here are useless. To fix spawn with regular Node. * Fix some workers not loading
21 lines
949 B
Diff
21 lines
949 B
Diff
Prevent builtin extensions from being updated
|
|
|
|
Updating builtin extensions from the marketplace prevents us from patching them
|
|
(for example out GitHub authentication patches).
|
|
|
|
Index: code-server/lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
|
|
===================================================================
|
|
--- code-server.orig/lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
|
|
+++ code-server/lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
|
|
@@ -243,6 +243,10 @@ export class Extension implements IExten
|
|
if (this.type === ExtensionType.System && this.productService.quality === 'stable') {
|
|
return false;
|
|
}
|
|
+ // Do not update builtin extensions.
|
|
+ if (this.type !== ExtensionType.User) {
|
|
+ return false;
|
|
+ }
|
|
if (!this.local.preRelease && this.gallery.properties.isPreReleaseVersion) {
|
|
return false;
|
|
}
|