From c3cad7c793f1bb0489e281edb195740a72a697d8 Mon Sep 17 00:00:00 2001 From: kramo <93832451+kra-mo@users.noreply.github.com> Date: Thu, 6 Jul 2023 10:02:11 +0200 Subject: [PATCH] Fix default Steam path because fuck me --- data/hu.kramo.Cartridges.gschema.xml.in | 2 +- src/importer/sources/steam_source.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/hu.kramo.Cartridges.gschema.xml.in b/data/hu.kramo.Cartridges.gschema.xml.in index 4fffaad..edd5aec 100644 --- a/data/hu.kramo.Cartridges.gschema.xml.in +++ b/data/hu.kramo.Cartridges.gschema.xml.in @@ -14,7 +14,7 @@ true - "~/.steam/" + "~/.steam/steam" true diff --git a/src/importer/sources/steam_source.py b/src/importer/sources/steam_source.py index ff60d86..9a45270 100644 --- a/src/importer/sources/steam_source.py +++ b/src/importer/sources/steam_source.py @@ -118,9 +118,9 @@ class SteamSource(URLExecutableSource): data_location = Location( schema_key="steam-location", candidates=( - shared.flatpak_dir / "com.valvesoftware.Steam" / "data" / "Steam", + shared.home / ".steam" / "steam", shared.data_dir / "Steam", - shared.home / ".steam", + shared.flatpak_dir / "com.valvesoftware.Steam" / "data" / "Steam", shared.programfiles32_dir / "Steam", ), paths={