diff options
| author | AAGaming <aagaming@riseup.net> | 2023-12-30 00:46:59 -0500 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2023-12-30 00:46:59 -0500 |
| commit | 6522ebf0cad1723a278144b6c5d8557cd47e52d6 (patch) | |
| tree | 8c048cfe75c73938d347f8e6cd7b8bb23269df2c /.vscode | |
| parent | 6042ca56b85fffe6bac4cac5a2965ee87c4e1e32 (diff) | |
| download | decky-loader-6522ebf0cad1723a278144b6c5d8557cd47e52d6.tar.gz decky-loader-6522ebf0cad1723a278144b6c5d8557cd47e52d6.zip | |
Implement legacy & modern plugin method calls over WS
This version builds fine and runs all of the 14 plugins I have installed perfectly, so we're really close to having this done.
Diffstat (limited to '.vscode')
| -rw-r--r-- | .vscode/tasks.json | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json index ea3ba5f9..3fe52c6f 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -37,8 +37,11 @@ "label": "dependencies", "type": "shell", "group": "none", + "dependsOn": [ + "deploy" + ], "detail": "Check for local runs, create a plugins folder", - "command": "rsync -azp --rsh='ssh -p ${config:deckport} ${config:deckkey}' backend/pyproject.toml backend/poetry.lock deck@${config:deckip}:${config:deckdir}/homebrew/dev/pluginloader && ssh deck@${config:deckip} -p ${config:deckport} ${config:deckkey} 'python -m ensurepip && python -m pip install --upgrade poetry && cd ${config:deckdir}/homebrew/dev/pluginloader/backend && python -m poetry install'", + "command": "ssh deck@${config:deckip} -p ${config:deckport} ${config:deckkey} 'python -m ensurepip && python -m pip install --user --upgrade poetry && cd ${config:deckdir}/homebrew/dev/pluginloader/backend && python -m poetry install'", "problemMatcher": [] }, { @@ -105,7 +108,7 @@ "detail": "Deploy dev PluginLoader to deck", "type": "shell", "group": "none", - "command": "rsync -azp --delete --rsh='ssh -p ${config:deckport} ${config:deckkey}' --exclude='.git/' --exclude='.github/' --exclude='.vscode/' --exclude='frontend/' --exclude='dist/' --exclude='contrib/' --exclude='*.log' --exclude='backend/decky_loader/__pycache__/' --exclude='.gitignore' . deck@${config:deckip}:${config:deckdir}/homebrew/dev/pluginloader", + "command": "rsync -azp --delete --rsh='ssh -p ${config:deckport} ${config:deckkey}' --exclude='.git/' --exclude='.github/' --exclude='.vscode/' --exclude='frontend/' --exclude='dist/' --exclude='contrib/' --exclude='*.log' --exclude='backend/**/__pycache__/' --exclude='.gitignore' . deck@${config:deckip}:${config:deckdir}/homebrew/dev/pluginloader", "problemMatcher": [] }, // RUN @@ -117,7 +120,7 @@ "dependsOn": [ "checkforsettings" ], - "command": "ssh deck@${config:deckip} -p ${config:deckport} ${config:deckkey} 'export PLUGIN_PATH=${config:deckdir}/homebrew/dev/plugins; export CHOWN_PLUGIN_PATH=0; export LOG_LEVEL=DEBUG; cd ${config:deckdir}/homebrew/services; echo '${config:deckpass}' | sudo -SE python3 ${config:deckdir}/homebrew/dev/pluginloader/backend/main.py'", + "command": "ssh deck@${config:deckip} -p ${config:deckport} ${config:deckkey} 'export PATH=${config:deckdir}/.local/bin:$PATH; export PLUGIN_PATH=${config:deckdir}/homebrew/dev/plugins; export CHOWN_PLUGIN_PATH=0; export LOG_LEVEL=DEBUG; cd ${config:deckdir}/homebrew/dev/pluginloader/backend; echo '${config:deckpass}' | sudo -SE poetry run sh -c \"cd ${config:deckdir}/homebrew/services; python3 ${config:deckdir}/homebrew/dev/pluginloader/backend/main.py\"'", "problemMatcher": [] }, { @@ -181,7 +184,8 @@ "buildall", "createfolders", "dependencies", - "deploy", + // dependencies runs deploy already + // "deploy", "runpydeck" ], "problemMatcher": [] @@ -190,7 +194,7 @@ "label": "act", "type": "shell", "group": "none", - "detail": "Run the act thing", + "detail": "Build release artifact using local CI", "command": "./act/run-act.sh release", "problemMatcher": [] } |
