summaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
authorKevin Hester <kevinh@geeksville.com>2023-02-20 10:34:55 -0800
committerGitHub <noreply@github.com>2023-02-20 10:34:55 -0800
commit1dd9bb21b6571c878d29f48372ca02f0471dca49 (patch)
tree81d152d3d0aaa8040095a6afdc9702961c898cb5 /.vscode
parentd81b0bbc060eca5276763fe25c8010dab82b8dad (diff)
downloaddecky-bazzite-buddy-1dd9bb21b6571c878d29f48372ca02f0471dca49.tar.gz
decky-bazzite-buddy-1dd9bb21b6571c878d29f48372ca02f0471dca49.zip
Add a 'restartloader' tasks to restart the python backend. (#19)
This is useful for testing/developing the python code. I also added this as an optional last subtask on allinone.
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/tasks.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index 78025a5..5a5e3b1 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -72,6 +72,15 @@
"problemMatcher": []
},
{
+ "label": "restartloader",
+ "detail": "Restart the plugin loader (to load updated python code)",
+ "type": "shell",
+ "group": "none",
+ "dependsOn": [],
+ "command": "ssh deck@${config:deckip} -p ${config:deckport} ${config:deckkey} 'echo '${config:deckpass}' | sudo -S systemctl restart plugin_loader'",
+ "problemMatcher": []
+ },
+ {
"label": "chmodfolders",
"detail": "chmods folders to prevent perms issues",
"type": "shell",
@@ -98,6 +107,8 @@
"dependsOn": [
"buildall",
"deployall"
+ // Uncomment this line if you'd like your python code reloaded after deployment (this will restart Steam)
+ // ,"restartloader"
],
"problemMatcher": []
}