diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-09-26 12:16:22 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-09-26 12:16:22 -0400 |
| commit | 7d2322e637faae5ccfab58c54f7a13e6a5f7ea88 (patch) | |
| tree | e92c7e73d497bf66faff14aed29b6372ba0c53ce /main.py | |
| parent | cbed25162a1058e67180aafb8fbd424bf2573e95 (diff) | |
| download | Decky-Framegen-7d2322e637faae5ccfab58c54f7a13e6a5f7ea88.tar.gz Decky-Framegen-7d2322e637faae5ccfab58c54f7a13e6a5f7ea88.zip | |
feat: first arg steam path start, second mirror first
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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}") |
