Using new shared paths in sources

This commit is contained in:
GeoffreyCoulaud
2023-07-01 15:53:52 +02:00
parent fb0c47c1f1
commit 4a204442b5
7 changed files with 22 additions and 27 deletions

View File

@@ -91,9 +91,9 @@ class BottlesSource(URLExecutableSource):
data_location = Location(
schema_key="bottles-location",
candidates=(
"~/.var/app/com.usebottles.bottles/data/bottles/",
shared.flatpak_dir / "com.usebottles.bottles" / "data" / "bottles",
shared.data_dir / "bottles/",
"~/.local/share/bottles",
shared.home / ".local" / "share" / "bottles",
),
paths={
"library.yml": (False, "library.yml"),