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