Fixed heroic location candidates priority

This commit is contained in:
GeoffreyCoulaud
2023-07-20 20:56:28 +02:00
parent 82dddd1c5c
commit 270fa2092c

View File

@@ -354,9 +354,9 @@ class HeroicSource(URLExecutableSource):
config_location = Location( config_location = Location(
schema_key="heroic-location", schema_key="heroic-location",
candidates=( candidates=(
shared.flatpak_dir / "com.heroicgameslauncher.hgl" / "config" / "heroic",
shared.config_dir / "heroic", shared.config_dir / "heroic",
shared.home / ".config" / "heroic", shared.home / ".config" / "heroic",
shared.flatpak_dir / "com.heroicgameslauncher.hgl" / "config" / "heroic",
shared.appdata_dir / "heroic", shared.appdata_dir / "heroic",
), ),
paths={ paths={