This commit is contained in:
Snowworm 2024-08-02 10:50:14 +01:00 committed by GitHub
commit 4cf53d67fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 4 deletions

10
.vscode/tasks.json vendored
View file

@ -61,6 +61,9 @@
"linux": {
"command": "${workspaceFolder}/.vscode/build.sh",
},
"osx": {
"command": "${workspaceFolder}/.vscode/build.sh",
},
// // placeholder for windows logic, not currently planned
// "windows": {
// "command": "call ${workspaceFolder}\\.vscode\\build.bat",
@ -90,7 +93,12 @@
"dependsOn": [
"chmodplugins"
],
"command": "rsync -azp --chmod=D0755,F0755 --rsh='ssh -p ${config:deckport} ${config:deckkey}' out/ ${config:deckuser}@${config:deckip}:${config:deckdir}/homebrew/plugins",
"linux": {
"command": "rsync -azp --chmod=D0755,F0755 --rsh='ssh -p ${config:deckport} ${config:deckkey}' out/ ${config:deckuser}@${config:deckip}:${config:deckdir}/homebrew/plugins",
},
"osx": {
"command": "rsync -azp --rsh='ssh -p ${config:deckport} ${config:deckkey}' out/ ${config:deckuser}@${config:deckip}:${config:deckdir}/homebrew/plugins",
},
"problemMatcher": []
},
//

View file

@ -1,9 +1,9 @@
import os
# The decky plugin module is located at decky-loader/plugin
# The decky plugin module is located at decky-loader (repo) -> backend/decky_loader/plugin/imports
# For easy intellisense checkout the decky-loader code one directory up
# or add the `decky-loader/plugin` path to `python.analysis.extraPaths` in `.vscode/settings.json`
import decky_plugin
# and add the `decky-loader/backend/decky_loader/plugin/imports` path to `python.analysis.extraPaths` in `.vscode/settings.json`
import decky as decky_plugin
class Plugin: