🚧 Set schema on location resolve

This commit is contained in:
GeoffreyCoulaud
2023-06-19 23:11:55 +02:00
parent f9000be272
commit e57a2a74df
7 changed files with 32 additions and 15 deletions

View File

@@ -138,8 +138,8 @@ class HeroicSource(URLExecutableSource):
available_on = set(("linux", "win32"))
config_location = Location(
schema_key="heroic-location",
candidates=(
lambda: shared.schema.get_string("heroic-location"),
"~/.var/app/com.heroicgameslauncher.hgl/config/heroic/",
shared.config_dir / "heroic/",
"~/.config/heroic/",