mirror of
https://github.com/SteamDeckHomebrew/decky-plugin-template.git
synced 2025-11-03 07:42:25 -06:00
Merge 42e2171965 into d69496d4ad
This commit is contained in:
commit
4cf53d67fd
2 changed files with 12 additions and 4 deletions
10
.vscode/tasks.json
vendored
10
.vscode/tasks.json
vendored
|
|
@ -61,6 +61,9 @@
|
||||||
"linux": {
|
"linux": {
|
||||||
"command": "${workspaceFolder}/.vscode/build.sh",
|
"command": "${workspaceFolder}/.vscode/build.sh",
|
||||||
},
|
},
|
||||||
|
"osx": {
|
||||||
|
"command": "${workspaceFolder}/.vscode/build.sh",
|
||||||
|
},
|
||||||
// // placeholder for windows logic, not currently planned
|
// // placeholder for windows logic, not currently planned
|
||||||
// "windows": {
|
// "windows": {
|
||||||
// "command": "call ${workspaceFolder}\\.vscode\\build.bat",
|
// "command": "call ${workspaceFolder}\\.vscode\\build.bat",
|
||||||
|
|
@ -90,7 +93,12 @@
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"chmodplugins"
|
"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": []
|
"problemMatcher": []
|
||||||
},
|
},
|
||||||
//
|
//
|
||||||
|
|
|
||||||
6
main.py
6
main.py
|
|
@ -1,9 +1,9 @@
|
||||||
import os
|
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
|
# 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`
|
# and add the `decky-loader/backend/decky_loader/plugin/imports` path to `python.analysis.extraPaths` in `.vscode/settings.json`
|
||||||
import decky_plugin
|
import decky as decky_plugin
|
||||||
|
|
||||||
|
|
||||||
class Plugin:
|
class Plugin:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue