From 781a4ace3eafdb5ba94440a6fae4505a274d1693 Mon Sep 17 00:00:00 2001 From: Snowworm <61204146+Snowworm3000@users.noreply.github.com> Date: Wed, 31 Jul 2024 21:31:53 +0100 Subject: [PATCH 1/3] fix osx build Minor tweaks to the build commands to fix building on osx --- .vscode/tasks.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index b5968abb..6eb51005 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,15 @@ "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", + }, + "windows": { + "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": [] }, // From 78705aeecd507472f1011526bc1a694a008e7bdf Mon Sep 17 00:00:00 2001 From: Snowworm <61204146+Snowworm3000@users.noreply.github.com> Date: Thu, 1 Aug 2024 09:40:57 +0100 Subject: [PATCH 2/3] Remove unnecessary Windows command --- .vscode/tasks.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 6eb51005..97bf3a8f 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -96,9 +96,6 @@ "linux": { "command": "rsync -azp --chmod=D0755,F0755 --rsh='ssh -p ${config:deckport} ${config:deckkey}' out/ ${config:deckuser}@${config:deckip}:${config:deckdir}/homebrew/plugins", }, - "windows": { - "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", }, From 42e2171965a44f17228cde5218349d0a8e598980 Mon Sep 17 00:00:00 2001 From: Snowworm <61204146+Snowworm3000@users.noreply.github.com> Date: Fri, 2 Aug 2024 10:49:49 +0100 Subject: [PATCH 3/3] Update comments so they are inline with the updated decky-loader api --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 07842f01..a7a8a3ae 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: