mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-15 18:13:40 +03:00
hook up plugin events properly
This commit is contained in:
@@ -166,7 +166,7 @@ class SandboxedPlugin:
|
||||
|
||||
d: SocketResponseDict = {"type": SocketMessageType.RESPONSE, "res": None, "success": True, "id": data["id"]}
|
||||
try:
|
||||
if data["legacy"]:
|
||||
if data.get("legacy"):
|
||||
if self.api_version > 0:
|
||||
raise Exception("Legacy methods may not be used on api_version > 0")
|
||||
# Legacy kwargs
|
||||
|
||||
Reference in New Issue
Block a user