Commit Graph

28 Commits

Author SHA1 Message Date
Sims
83f2c94712 Fix id keyerror on plugin uninstall (#725)
* Fix id keyerror on plugin uninstall

* This is python

* too bad im changing it anyway

---------

Co-authored-by: AAGaming <aagaming@riseup.net>
2024-12-13 22:38:33 -05:00
Sims
e87ce625fb Test (#701) 2024-09-13 16:59:35 -07:00
AAGaming
508408ad5a use signals to shut down plugins instead of sending a socket message
should reduce or outright prevent shutdown stalls
2024-09-11 20:35:24 -04:00
Sims
a6e4bcf052 Fix updater taking a long time (#696)
Replaces subprocess with asyncio.subprocess in some localplatformlinux functions and improves shutdown handling
Co-authored-by: AAGaming <aagaming@riseup.net>
2024-09-01 19:45:47 -04:00
AAGaming
c1f7ca7f20 chore(backend): remove unused import in plugin.py 2024-09-01 14:18:33 -04:00
AAGaming
6ae6f5ee67 chore(backend): .warn -> .warning 2024-09-01 14:17:11 -04:00
Sims
016ed6e998 Fix shutdown timeouts (#695)
Co-authored-by: AAGaming <aagaming@riseup.net>
2024-09-01 14:15:49 -04:00
Sims
75aa1e4851 Sims/pyinstaller misuse fix (#657)
* Fix misuse of pyinstaller

* Fix breaking change

* Fix pywright import errors
2024-08-05 00:00:49 +02:00
AAGaming
a45df8566e fix plugin uninstalls 2024-07-04 01:27:13 -04:00
AAGaming
f5eba51c52 set process/thread titles for decky and plugins
sadly requires the `setproctitle` pypi module because python doesn't have a builtin to do this :/
2024-07-03 20:43:08 -04:00
AAGaming
2c4edeb810 implement a shutdown routine instead of just waiting for all plugins to stop on their own 2024-07-03 20:08:30 -04:00
AAGaming
d71fb7935b fix plugin uninstall dialog issues 2024-06-27 01:43:01 -04:00
Party Wumpus
6bd3951d31 add docstring for emit 2024-06-14 22:45:02 +00:00
AAGaming
54aecee64e hook up plugin events properly 2024-06-13 17:47:53 -04:00
AAGaming
9c8db576f5 error boundary now properly reports steam errors 2024-05-27 17:21:27 -04:00
AAGaming
a84a13c76d Custom error handler and some misc fixes 2024-05-25 19:14:54 -04:00
AAGaming
14ea7b964f implement fetch and external resource request apis 2024-05-04 22:39:30 -04:00
Wayne Heaney
a1a29616e5 Add Plugin.uninstall callback support (#555)
* Add Plugin.uninstall callback support

https://github.com/SteamDeckHomebrew/decky-loader/issues/536

* Remove empty deck.sh
2024-04-22 13:29:13 -04:00
Party Wumpus
f9ff518e6d attempt to add plugin events to the plugin frontend api.
unable to test right now though
2024-04-09 15:54:48 +01:00
AAGaming
6d2e9365c0 more major websocket progress 2024-02-21 01:08:25 -05:00
AAGaming
091428f683 small loader refactoring 2024-02-14 17:49:27 -05:00
AAGaming
ee1627a3a1 fix some broken types 2024-02-14 17:06:41 -05:00
Party Wumpus
8987076c5f Revert "Call plugin unload function after stopping event loop (#539)" (#584)
This reverts commit 39f4f2870b , because functions (seemingly) don't run after the event loop closes, so the unload function is never actually run.
2024-02-14 16:43:34 -05:00
AAGaming
f5e902f741 fix vscode import memes 2024-02-14 16:40:48 -05:00
AAGaming
c5ea95a787 finalize api for plugin events in backend
just need frontend impl now
2023-12-31 20:29:19 -05:00
AAGaming
6522ebf0ca 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.
2023-12-30 00:46:59 -05:00
Jan
5190765ce1 Call plugin unload function after stopping event loop (#539)
This can prevent race conditions where unload is clearing data but main is still working with it
2023-12-29 18:40:53 -05:00
K900
5a633fdd82 Packaging rework (#531)
* fix: get rid of title view jank on latest beta

* Count the number of installs for each plugin (#557)

* Bump aiohttp from 3.8.4 to 3.8.5 in /backend (#558)

* fix: include Decky version in request for index.js

This avoids the If-Modified-Since logic in aiohttp and ensures Steam doesn't cache old JS,
even if the timestamps are normalized.

* fix: clean up shellcheck warnings in act runner script

* fix: gitignore settings/

* fix: ensure state directories exist when running without the installer

* feat: determine root directory correctly when running from in-tree

* fix: fix typo in CI script

* refactor: build a proper Python package with poetry

* refactor: move decky_plugin under the poetry structure

There's no need to special case it anymore, just treat it like any other Python module.

* sandboxed_plugin: better fix, attempt 2

---------

Co-authored-by: AAGaming <aagaming@riseup.net>
Co-authored-by: Party Wumpus <48649272+PartyWumpus@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 23:40:37 +02:00