diff --git a/CHANGELOG.md b/CHANGELOG.md index c53b7b2..8a7fc7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [1.0.3](https://github.com/sketchbuch/vscode-file-theme-processor/compare/v1.0.2...v1.0.3) (2023-10-12) + +- Updated readme. The readme showed an example using "vscode.Uri.parse()" when updating localResourceRoots. This was corrected to "vscode.Uri.file()" as parse did not let extension resources load on windows. + ## [1.0.2](https://github.com/sketchbuch/vscode-file-theme-processor/compare/v1.0.0...v1.0.2) (2023-10-02) - Updated readme diff --git a/README.md b/README.md index 83fc33e..9bfad9b 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ private render() { webviewView.webview.options = { localResourceRoots: [ ...themeData.localResourceRoots.map((resouceRoot) => { - return vscode.Uri.parse(resouceRoot) + return vscode.Uri.file(resouceRoot) }), ... ], diff --git a/package.json b/package.json index 7073a17..4f0ea3e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vscode-file-theme-processor", - "version": "1.0.2", + "version": "1.0.3", "description": "Provides VSCode Webviews with access to file icon theme data and generates required css to render file icon themes in Webviews.", "author": "Sketchbuch", "bugs": {