mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[core] Fix metadata prune removing required data
This commit is contained in:
parent
6f7989ab50
commit
9511d9d65b
|
@ -423,7 +423,7 @@ class LegendaryCore:
|
||||||
def _prune_metadata(self):
|
def _prune_metadata(self):
|
||||||
# compile list of games without assets, then delete their metadata
|
# compile list of games without assets, then delete their metadata
|
||||||
available_assets = set()
|
available_assets = set()
|
||||||
for platform in self.get_installed_platforms():
|
for platform in self.get_installed_platforms() | {'Windows'}:
|
||||||
available_assets |= {i.app_name for i in self.get_assets(platform=platform)}
|
available_assets |= {i.app_name for i in self.get_assets(platform=platform)}
|
||||||
|
|
||||||
for app_name in self.lgd.get_game_app_names():
|
for app_name in self.lgd.get_game_app_names():
|
||||||
|
|
Loading…
Reference in a new issue