diff --git a/README.md b/README.md index f989c76..f6e7d68 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ VSCode can't open a workspace without a further confirmation dialog (that you ju ## Credits Thank you to the makers of the [DEVONlink](https://github.com/ryanjamurphy/DEVONlink-obsidian) plugin, as it was a great starting point for working with ribbon icons in Obsidian. +I got the icon from [icon-icons.com](https://icon-icons.com/icon/visual-studio-code-logo/144754) and resized it with [iLoveIMG](https://www.iloveimg.com/resize-image/resize-svg). ## Support diff --git a/main.ts b/main.ts index f132381..fb9b08f 100644 --- a/main.ts +++ b/main.ts @@ -1,10 +1,10 @@ import { addIcon, FileSystemAdapter, Plugin } from 'obsidian'; let svg = ` - - -` +` addIcon('vscode-logo', svg); export default class OpenVSCode extends Plugin { diff --git a/manifest.json b/manifest.json index 66357e8..c05ab9a 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "open-vscode", "name": "Open vault in VSCode", - "version": "1.0.0", + "version": "1.0.1", "minAppVersion": "0.11.13", "description": "Ribbon button and command to open vault as a Visual Studio Code workspace", "author": "NomarCub", diff --git a/package.json b/package.json index dc89812..e50a51d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "open-vscode", - "version": "1.0.0", + "version": "1.0.1", "description": "Open vault in Visual Studio Code ribbon button and command for Obsidian (https://obsidian.md)", "main": "main.js", "scripts": {