Make Heroic and itch sources available on macOS

This commit is contained in:
kramo
2024-07-10 15:12:27 +02:00
parent 6c2ab8099b
commit 823641d909
4 changed files with 12 additions and 5 deletions

View File

@@ -355,7 +355,7 @@ class HeroicSource(URLExecutableSource):
name = _("Heroic")
iterable_class = HeroicSourceIterable
url_format = "heroic://launch/{runner}/{app_name}"
available_on = {"linux", "win32"}
available_on = {"linux", "win32", "darwin"}
locations: HeroicLocations
@@ -377,6 +377,7 @@ class HeroicSource(URLExecutableSource):
/ "config"
/ "heroic",
shared.appdata_dir / "heroic",
shared.app_support_dir / "heroic",
),
paths={
"config.json": LocationSubPath("config.json"),

View File

@@ -81,7 +81,7 @@ class ItchSource(URLExecutableSource):
name = _("itch")
iterable_class = ItchSourceIterable
url_format = "itch://caves/{cave_id}/launch"
available_on = {"linux", "win32"}
available_on = {"linux", "win32", "darwin"}
locations: ItchLocations
@@ -95,6 +95,7 @@ class ItchSource(URLExecutableSource):
shared.config_dir / "itch",
shared.host_config_dir / "itch",
shared.appdata_dir / "itch",
shared.app_support_dir / "itch",
),
paths={
"butler.db": LocationSubPath("db/butler.db"),