Simplifying game executable

This commit is contained in:
GeoffreyCoulaud
2023-08-27 13:53:23 +02:00
parent c607a65d1f
commit 6486f5b336
8 changed files with 11 additions and 14 deletions

View File

@@ -47,8 +47,9 @@ class BottlesSourceIterable(SourceIterable):
"added": added_time,
"name": entry["name"],
"game_id": self.source.game_id_format.format(game_id=entry["id"]),
"executable": self.source.executable_format.format(
bottle_name=entry["bottle"]["name"], game_name=entry["name"]
"executable": self.source.make_executable(
bottle_name=entry["bottle"]["name"],
game_name=entry["name"],
),
}
game = Game(values)