mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[core] Save non-install game metadata
This commit is contained in:
parent
730225c06b
commit
e881e42d5f
|
@ -367,6 +367,7 @@ class LegendaryCore:
|
||||||
eg_meta = self.egs.get_game_info(libitem['namespace'], libitem['catalogItemId'])
|
eg_meta = self.egs.get_game_info(libitem['namespace'], libitem['catalogItemId'])
|
||||||
game = Game(app_name=libitem['appName'], app_version=None,
|
game = Game(app_name=libitem['appName'], app_version=None,
|
||||||
app_title=eg_meta['title'], asset_info=None, metadata=eg_meta)
|
app_title=eg_meta['title'], asset_info=None, metadata=eg_meta)
|
||||||
|
self.lgd.set_game_meta(game.app_name, game)
|
||||||
|
|
||||||
if game.is_dlc:
|
if game.is_dlc:
|
||||||
_dlc[game.metadata['mainGameItem']['id']].append(game)
|
_dlc[game.metadata['mainGameItem']['id']].append(game)
|
||||||
|
|
Loading…
Reference in a new issue