From 34b8d2ed69811c3315a465f01492e9448c9254aa Mon Sep 17 00:00:00 2001 From: Olivier Benz Date: Fri, 14 Feb 2025 01:27:27 +0100 Subject: [PATCH] Update Code to 1.97.2 (#7205) --- lib/vscode | 2 +- patches/external-file-actions.diff | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vscode b/lib/vscode index e249dada235c..e54c774e0add 160000 --- a/lib/vscode +++ b/lib/vscode @@ -1 +1 @@ -Subproject commit e249dada235c2083c83813bd65b7f4707fb97b76 +Subproject commit e54c774e0add60467559eb0d1e229c6452cf8447 diff --git a/patches/external-file-actions.diff b/patches/external-file-actions.diff index aff427dcf9d0..5fcd3c01c3c9 100644 --- a/patches/external-file-actions.diff +++ b/patches/external-file-actions.diff @@ -243,7 +243,7 @@ Index: code-server/lib/vscode/src/vs/workbench/services/dialogs/browser/simpleFi @@ -284,20 +284,22 @@ export class SimpleFileDialog extends Di this.filePickBox.ignoreFocusOut = true; this.filePickBox.ok = true; - this.filePickBox.okLabel = this.options.openLabel; + this.filePickBox.okLabel = typeof this.options.openLabel === 'string' ? this.options.openLabel : this.options.openLabel?.withoutMnemonic; - if ((this.scheme !== Schemas.file) && this.options && this.options.availableFileSystems && (this.options.availableFileSystems.length > 1) && (this.options.availableFileSystems.indexOf(Schemas.file) > -1)) { - this.filePickBox.customButton = true; - this.filePickBox.customLabel = nls.localize('remoteFileDialog.local', 'Show Local');