Open SilentException opened 2 months ago
That method only works on linux iirc, I have my own release actions for Decky Plugins that are cross platform. Bash Shortcuts is also in the process of being migrated to a new maintainer
It seems the release script misses adding the py_backend
directory to the end result. The plugin fails to load when installed on deck, when missing the py_backend
directory, with this error:
File "/home/deck/homebrew/plugins/bash-shortcuts/main.py", line 8, in <module>
from py_backend.instanceManager import InstanceManager
ModuleNotFoundError: No module named 'py_backend
I'm not sure if shortcutsRunner.sh
is needed? Scripts might not run without them. But definitely the py_backend
directory is needed. Once I added that directory to the plugin folder, on the deck, the plugin loaded. Before I was getting an infinite loading message.
Thanks SilentException for your work on fixes for one of my most essential plugins on my deck :)
That method only works on linux iirc, I have my own release actions for Decky Plugins that are cross platform.
Correct, I've seen other task that used bash and also few other .sh scripts so I thought Linux is preferred here. Also, there is WSL (for Windows). It can be adjusted to PowerShell.
It seems the release script misses adding the
py_backend
directory to the end result. The plugin fails to load when installed on deck, when missing thepy_backend
directory, with this error:File "/home/deck/homebrew/plugins/bash-shortcuts/main.py", line 8, in <module> from py_backend.instanceManager import InstanceManager ModuleNotFoundError: No module named 'py_backend
I'm not sure if
shortcutsRunner.sh
is needed? Scripts might not run without them. But definitely thepy_backend
directory is needed. Once I added that directory to the plugin folder, on the deck, the plugin loaded. Before I was getting an infinite loading message.
That is weird.
rsync -avr --prune-empty-dirs --exclude '*_test.py' --exclude '__pycache__' --include '*.py' ./defaults/ "$BUILD_DIR"
should handle that. I just tested from VS Code and am getting everything in build/ folder.
My bad I didn't have rsync installed. Lol. Sorry about that. It would have worked first try if not for that. Thanks!
It seems the release script misses adding the
py_backend
directory to the end result. The plugin fails to load when installed on deck, when missing thepy_backend
directory, with this error:File "/home/deck/homebrew/plugins/bash-shortcuts/main.py", line 8, in <module> from py_backend.instanceManager import InstanceManager ModuleNotFoundError: No module named 'py_backend
I'm not sure if
shortcutsRunner.sh
is needed? Scripts might not run without them. But definitely thepy_backend
directory is needed. Once I added that directory to the plugin folder, on the deck, the plugin loaded. Before I was getting an infinite loading message.Thanks SilentException for your work on fixes for one of my most essential plugins on my deck :)
The main reason to have the runner file is so that you can trick Steam into thinking that App shortcuts are real apps, which makes them render over the game view. Not sure if there's a better solution now, its been a very long time since I wrote that