From 7d2322e637faae5ccfab58c54f7a13e6a5f7ea88 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Fri, 26 Sep 2025 12:16:22 -0400 Subject: feat: first arg steam path start, second mirror first --- main.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'main.py') diff --git a/main.py b/main.py index 76a7b22..a22acca 100644 --- a/main.py +++ b/main.py @@ -429,5 +429,18 @@ class Plugin: decky.logger.error(str(e)) return {"status": "error", "message": str(e)} + async def get_path_defaults(self) -> dict: + try: + home_path = Path(decky.HOME) + except TypeError: + home_path = Path(str(decky.HOME)) + + steam_common = home_path / ".local" / "share" / "Steam" / "steamapps" / "common" + + return { + "home": str(home_path), + "steam_common": str(steam_common), + } + async def log_error(self, error: str) -> None: decky.logger.error(f"FRONTEND: {error}") -- cgit v1.2.3