Просмотр исходного кода

Fix vscode-material-icons path (#3889)

Chris Estreich 7 месяцев назад
Родитель
Сommit
b9d3331f41
2 измененных файлов с 15 добавлено и 2 удалено
  1. 5 0
      .changeset/salty-geese-relate.md
  2. 10 2
      src/core/webview/ClineProvider.ts

+ 5 - 0
.changeset/salty-geese-relate.md

@@ -0,0 +1,5 @@
+---
+"roo-cline": patch
+---
+
+Fix vscode-material-icons path

+ 10 - 2
src/core/webview/ClineProvider.ts

@@ -573,7 +573,11 @@ export class ClineProvider extends EventEmitter<ClineProviderEvents> implements
 		])
 
 		const codiconsUri = getUri(webview, this.contextProxy.extensionUri, ["assets", "codicons", "codicon.css"])
-		const materialIconsUri = getUri(webview, this.contextProxy.extensionUri, ["assets", "vscode-material-icons"])
+		const materialIconsUri = getUri(webview, this.contextProxy.extensionUri, [
+			"assets",
+			"vscode-material-icons",
+			"icons",
+		])
 		const imagesUri = getUri(webview, this.contextProxy.extensionUri, ["assets", "images"])
 		const audioUri = getUri(webview, this.contextProxy.extensionUri, ["webview-ui", "audio"])
 
@@ -650,7 +654,11 @@ export class ClineProvider extends EventEmitter<ClineProviderEvents> implements
 
 		const scriptUri = getUri(webview, this.contextProxy.extensionUri, ["webview-ui", "build", "assets", "index.js"])
 		const codiconsUri = getUri(webview, this.contextProxy.extensionUri, ["assets", "codicons", "codicon.css"])
-		const materialIconsUri = getUri(webview, this.contextProxy.extensionUri, ["assets", "vscode-material-icons"])
+		const materialIconsUri = getUri(webview, this.contextProxy.extensionUri, [
+			"assets",
+			"vscode-material-icons",
+			"icons",
+		])
 		const imagesUri = getUri(webview, this.contextProxy.extensionUri, ["assets", "images"])
 		const audioUri = getUri(webview, this.contextProxy.extensionUri, ["webview-ui", "audio"])