2
0
Эх сурвалжийг харах

Fix vscode-material-icons path (#3889)

Chris Estreich 7 сар өмнө
parent
commit
b9d3331f41

+ 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"])