🚧 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

@@ -84,8 +84,8 @@ class ItchSource(URLExecutableSource):
available_on = set(("linux", "win32"))
config_location = Location(
schema_key="itch-location",
candidates=(
lambda: shared.schema.get_string("itch-location"),
"~/.var/app/io.itch.itch/config/itch/",
shared.config_dir / "itch/",
"~/.config/itch/",