Skip to content

Commit

Permalink
Activate extension on PearAI startup
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryingpannn committed Oct 15, 2024
1 parent fb9411d commit c43d86f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
13 changes: 12 additions & 1 deletion extensions/pearai-inventory/.vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,17 @@
"npm: watch-tests"
],
"problemMatcher": []
}
},
{
"type": "npm",
"script": "build:webview",
"group": "build",
"problemMatcher": [],
"label": "npm: build:webview",
"detail": "Build webview",
"runOptions": {
"runOn": "folderOpen"
}
},
]
}
5 changes: 4 additions & 1 deletion extensions/pearai-inventory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
"categories": [
"Other"
],
"activationEvents": [],
"activationEvents": [
"onUri",
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
Expand Down

0 comments on commit c43d86f

Please sign in to comment.