mirror of
https://github.com/derrod/legendary.git
synced 2024-06-02 02:34:52 +12:00
[core] Fix calculating install size *again*
This commit is contained in:
parent
34677cc02e
commit
df9380ab3d
|
@ -880,7 +880,7 @@ class LegendaryCore:
|
|||
# check if enough disk space is free (dl size is the approximate amount the installation will grow)
|
||||
min_disk_space = analysis.install_size
|
||||
if updating:
|
||||
min_disk_space += analysis.biggest_file_size + analysis.install_size
|
||||
min_disk_space += analysis.biggest_file_size
|
||||
|
||||
# todo when resuming, only check remaining files
|
||||
_, _, free = shutil.disk_usage(os.path.split(install.install_path)[0])
|
||||
|
|
Loading…
Reference in a new issue