diff --git a/.vscode/tasks.json b/.vscode/tasks.json index b5968ab..97bf3a8 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -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": [] }, // diff --git a/main.py b/main.py index 07842f0..a7a8a3a 100644 --- a/main.py +++ b/main.py @@ -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: