mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
[flatpak] fix: informing the download size as the additional installation size (upgrade summary)
This commit is contained in:
@@ -51,6 +51,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- Flatpak
|
||||
- some updates 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
|
||||
|
||||
- UI
|
||||
- not displaying the right unit symbol for byte based sizes (kB, MB, TB, ...) [#250](https://github.com/vinifmor/bauh/issues/250)
|
||||
|
||||
@@ -701,7 +701,7 @@ class FlatpakManager(SoftwareManager, SettingsController):
|
||||
for p in apps_by_install[0]:
|
||||
p.size = sizes.get(str(p.id))
|
||||
|
||||
to_update = [UpgradeRequirement(pkg=p, extra_size=p.size, required_size=p.size) for p in self.sort_update_order(pkgs)]
|
||||
to_update = [UpgradeRequirement(pkg=p, extra_size=0, required_size=p.size) for p in self.sort_update_order(pkgs)]
|
||||
return UpgradeRequirements(None, None, to_update, [])
|
||||
|
||||
def sort_update_order(self, pkgs: List[FlatpakApplication]) -> List[FlatpakApplication]:
|
||||
|
||||
Reference in New Issue
Block a user