From 9511d9d65b922fb1c6f9a71c198d173044ab28c1 Mon Sep 17 00:00:00 2001 From: derrod Date: Thu, 2 Dec 2021 16:53:09 +0100 Subject: [PATCH] [core] Fix metadata prune removing required data --- legendary/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/core.py b/legendary/core.py index a27fcc1..c9ff630 100644 --- a/legendary/core.py +++ b/legendary/core.py @@ -423,7 +423,7 @@ class LegendaryCore: def _prune_metadata(self): # compile list of games without assets, then delete their metadata 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)} for app_name in self.lgd.get_game_app_names():