Skip to content

Commit

Permalink
Fixed missing HTML file in published extension
Browse files Browse the repository at this point in the history
Also adapted the icon and title of the extension.
  • Loading branch information
phschaad committed May 7, 2020
1 parent 84451c2 commit 8cdb601
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 22 deletions.
2 changes: 2 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
out/test/**
src/**
.gitignore
tslint.json
*.code-workspace
vsc-extension-quickstart.md
**/tsconfig.json
**/.eslintrc.json
Expand Down
15 changes: 0 additions & 15 deletions dace-hollow.svg

This file was deleted.

Binary file modified icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "sdfv",
"displayName": "SDFV",
"displayName": "SDFG Viewer (SDFV)",
"description": "SDFG Viewer for VS Code",
"version": "0.1.1",
"version": "0.1.0",
"engines": {
"vscode": "^1.43.0"
},
Expand All @@ -21,10 +21,6 @@
"type": "git",
"url": "https://github.com/spcl/dace-vscode"
},
"galleryBanner": {
"color:": "#454545",
"theme": "dark"
},
"icon": "icon.png",
"contributes": {},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/sdfv_panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export class SdfvPanel {

// Load the base HTML we want to display in the webview.
const fpBaseHtml: vscode.Uri = vscode.Uri.file(path.join(
this._extensionPath, 'src', 'html', 'sdfv_base_layout.html'
this._extensionPath, 'media', 'sdfv_base_layout.html'
));
let baseHtml = fs.readFileSync(fpBaseHtml.fsPath, 'utf8');

Expand Down

0 comments on commit 8cdb601

Please sign in to comment.