Simplified source available on
This commit is contained in:
@@ -86,7 +86,7 @@ class BottlesSource(URLExecutableSource):
|
|||||||
name = "Bottles"
|
name = "Bottles"
|
||||||
iterator_class = BottlesSourceIterator
|
iterator_class = BottlesSourceIterator
|
||||||
url_format = 'bottles:run/"{bottle_name}"/"{game_name}"'
|
url_format = 'bottles:run/"{bottle_name}"/"{game_name}"'
|
||||||
available_on = set(("linux",))
|
available_on = {"linux"}
|
||||||
|
|
||||||
data_location = Location(
|
data_location = Location(
|
||||||
schema_key="bottles-location",
|
schema_key="bottles-location",
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ class FlatpakSource(Source):
|
|||||||
name = "Flatpak"
|
name = "Flatpak"
|
||||||
iterator_class = FlatpakSourceIterator
|
iterator_class = FlatpakSourceIterator
|
||||||
executable_format = "flatpak run {flatpak_id}"
|
executable_format = "flatpak run {flatpak_id}"
|
||||||
available_on = set(("linux",))
|
available_on = {"linux"}
|
||||||
|
|
||||||
data_location = Location(
|
data_location = Location(
|
||||||
schema_key="flatpak-location",
|
schema_key="flatpak-location",
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ class HeroicSource(URLExecutableSource):
|
|||||||
name = "Heroic"
|
name = "Heroic"
|
||||||
iterator_class = HeroicSourceIterator
|
iterator_class = HeroicSourceIterator
|
||||||
url_format = "heroic://launch/{app_name}"
|
url_format = "heroic://launch/{app_name}"
|
||||||
available_on = set(("linux", "win32"))
|
available_on = {"linux", "win32"}
|
||||||
|
|
||||||
config_location = Location(
|
config_location = Location(
|
||||||
schema_key="heroic-location",
|
schema_key="heroic-location",
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ class ItchSource(URLExecutableSource):
|
|||||||
name = "Itch"
|
name = "Itch"
|
||||||
iterator_class = ItchSourceIterator
|
iterator_class = ItchSourceIterator
|
||||||
url_format = "itch://caves/{cave_id}/launch"
|
url_format = "itch://caves/{cave_id}/launch"
|
||||||
available_on = set(("linux", "win32"))
|
available_on = {"linux", "win32"}
|
||||||
|
|
||||||
config_location = Location(
|
config_location = Location(
|
||||||
schema_key="itch-location",
|
schema_key="itch-location",
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ class LegendarySourceIterator(SourceIterator):
|
|||||||
class LegendarySource(Source):
|
class LegendarySource(Source):
|
||||||
name = "Legendary"
|
name = "Legendary"
|
||||||
executable_format = "legendary launch {app_name}"
|
executable_format = "legendary launch {app_name}"
|
||||||
available_on = set(("linux", "win32"))
|
available_on = {"linux", "win32"}
|
||||||
|
|
||||||
iterator_class = LegendarySourceIterator
|
iterator_class = LegendarySourceIterator
|
||||||
config_location: Location = Location(
|
config_location: Location = Location(
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ class LutrisSource(URLExecutableSource):
|
|||||||
name = "Lutris"
|
name = "Lutris"
|
||||||
iterator_class = LutrisSourceIterator
|
iterator_class = LutrisSourceIterator
|
||||||
url_format = "lutris:rungameid/{game_id}"
|
url_format = "lutris:rungameid/{game_id}"
|
||||||
available_on = set(("linux",))
|
available_on = {"linux"}
|
||||||
|
|
||||||
# FIXME possible bug: location picks ~/.var... and cache_lcoation picks ~/.local...
|
# FIXME possible bug: location picks ~/.var... and cache_lcoation picks ~/.local...
|
||||||
|
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ class SteamSourceIterator(SourceIterator):
|
|||||||
|
|
||||||
class SteamSource(URLExecutableSource):
|
class SteamSource(URLExecutableSource):
|
||||||
name = "Steam"
|
name = "Steam"
|
||||||
available_on = set(("linux", "win32"))
|
available_on = {"linux", "win32"}
|
||||||
iterator_class = SteamSourceIterator
|
iterator_class = SteamSourceIterator
|
||||||
url_format = "steam://rungameid/{game_id}"
|
url_format = "steam://rungameid/{game_id}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user