mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +02:00
[flatpak] fix: download sizes not being displayed when there are new required runtimes for installed Flatpaks
This commit is contained in:
@@ -54,7 +54,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- removing unused packages on any type of transaction (this is the default behaviour for aptitude)
|
||||
|
||||
- Flatpak
|
||||
- some updates not being displayed when there are new required runtimes for installed Flatpaks
|
||||
- some updates or download sizes not being displayed when there are new required runtimes for installed Flatpaks
|
||||
- not displaying new required runtimes as updates (requires Flatpak >= 1.12)
|
||||
- upgrade: informing the download size as the additional installation size
|
||||
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user