diff --git a/package.json b/package.json index f0d3356..355f5d7 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-bookmark", "productName": "VSCode Bookmark", "description": "A utility to save your favorite projects and open them easily in vscode.", - "version": "1.0.4", + "version": "1.0.5", "author": "Ailton Loures", "homepage": "https://github.com/ailtonloures/vscode-bookmark#readme", "repository": { diff --git a/src/modules/tray.js b/src/modules/tray.js index 0d96df5..b759d35 100644 --- a/src/modules/tray.js +++ b/src/modules/tray.js @@ -9,7 +9,15 @@ function getLabel() { function getIcon() { return nativeImage.createFromPath( - path.resolve('assets', 'icons', 'png', 'tray-icon.png') + path.resolve( + import.meta.dirname, + '..', + '..', + 'assets', + 'icons', + 'png', + 'tray-icon.png' + ) ); }