Re added hardcoded candidates for linux

- Real fix would be to get the XDG_*_DIR
This commit is contained in:
GeoffreyCoulaud
2023-07-01 15:17:12 +02:00
parent 3af968fee7
commit fb0c47c1f1
2 changed files with 3 additions and 0 deletions

View File

@@ -93,6 +93,7 @@ class BottlesSource(URLExecutableSource):
candidates=(
"~/.var/app/com.usebottles.bottles/data/bottles/",
shared.data_dir / "bottles/",
"~/.local/share/bottles",
),
paths={
"library.yml": (False, "library.yml"),

View File

@@ -102,6 +102,7 @@ class LutrisSource(URLExecutableSource):
candidates=(
"~/.var/app/net.lutris.Lutris/data/lutris/",
shared.data_dir / "lutris",
"~/.local/share/lutris",
),
paths={
"pga.db": (False, "pga.db"),
@@ -113,6 +114,7 @@ class LutrisSource(URLExecutableSource):
candidates=(
"~/.var/app/net.lutris.Lutris/cache/lutris/",
shared.cache_dir / "lutris",
"~/.cache/lutris",
),
paths={
"coverart": (True, "coverart"),