[flatpak] fix: download sizes not being displayed when there are new required runtimes for installed Flatpaks

This commit is contained in:
Vinicius Moreira
2022-04-13 14:21:32 -03:00
parent 0eb335ef07
commit dd3baf8d0a
2 changed files with 3 additions and 2 deletions

View File

@@ -440,7 +440,8 @@ def run(app_id: str):
def map_update_download_size(app_ids: Iterable[str], installation: str, version: Version) -> Dict[str, float]:
success, output = ProcessHandler().handle_simple(SimpleProcess(('flatpak', 'update', f'--{installation}')))
success, output = ProcessHandler().handle_simple(SimpleProcess(('flatpak', 'update', f'--{installation}',
'--no-deps')))
if version >= VERSION_1_2:
res = {}
p = re.compile(r'^\d+.\t')