summaryrefslogtreecommitdiff
path: root/backend/decky_loader/main.py
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2026-11-21 21:14:41 -0500
committerAAGaming <aagaming@riseup.net>2026-11-21 21:14:41 -0500
commit02db20f846857374b9b5f1e7dbd475befdf47b71 (patch)
tree55c7553d32ffb55e3f490d153543fb96ed9bb71a /backend/decky_loader/main.py
parentffd103b9c1a4ce5bf305e7c0998eda6e05457dad (diff)
downloaddecky-loader-02db20f846857374b9b5f1e7dbd475befdf47b71.tar.gz
decky-loader-02db20f846857374b9b5f1e7dbd475befdf47b71.zip
esmodule support base
Diffstat (limited to 'backend/decky_loader/main.py')
-rw-r--r--backend/decky_loader/main.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/decky_loader/main.py b/backend/decky_loader/main.py
index 24115419..36d52337 100644
--- a/backend/decky_loader/main.py
+++ b/backend/decky_loader/main.py
@@ -36,6 +36,7 @@ from .updater import Updater
from .utilities import Utilities
from .enums import UserType
from .wsrouter import WSRouter
+from .instrumentation import Instrumentation
basicConfig(
@@ -76,6 +77,7 @@ class PluginManager:
self.plugin_browser = PluginBrowser(plugin_path, self.plugin_loader.plugins, self.plugin_loader, self.settings)
self.utilities = Utilities(self)
self.updater = Updater(self)
+ self.instrumentation = Instrumentation(self)
self.last_webhelper_exit: float = 0
self.webhelper_crash_count: int = 0
self.inject_fallback: bool = False
@@ -207,6 +209,7 @@ class PluginManager:
await tab.open_websocket()
self.js_ctx_tab = tab
await tab.enable()
+ self.instrumentation.set_tab(tab)
await self.inject_javascript(tab, True)
try:
async for msg in tab.listen_for_message():