mirror of
https://github.com/SteamDeckHomebrew/decky-plugin-template.git
synced 2025-11-02 15:22: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": {
|
||||
"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": []
|
||||
},
|
||||
//
|
||||
|
|
|
|||
6
main.py
6
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue