Collapse icon indicating copy to clipboard operation
Collapse copied to clipboard

[Bug]: if you have some files downloaded already, it wont let you continue if the free space is lower than required space

Open anispwyn opened this issue 1 year ago • 1 comments

Affected Version

360222b

Bug Behavior

when you have some of the game files downloaded, you pause and then when you decide to continue, it wont let you continue if your free space is lower than required space

Expected Behavior

it (collapse) count the downloaded files and then make the required disk space lower so it can continue

Steps to reproduce

  1. make ur drive almost full, but enough to download 1 game
  2. download the game, wait until the disk space is lower than required space
  3. when your free space is lower than required space, pause and continue
  4. the popups appear

Related Issues

No response

Screenshot(s)

image

Additional Information

No response

anispwyn avatar Mar 27 '24 14:03 anispwyn

Func InstallManagerBase.CheckDriveFreeSpace https://github.com/CollapseLauncher/Collapse/blob/360222ba76efe96bf75e38c186f5746ffa48f862/CollapseLauncher/Classes/InstallManagement/BaseClass/InstallManagerBase.cs#L1800-L1821

Unsure what's wrong with it... My sleepy brain tells something about segments calculation in segmented package (eg Genshin install packages) is not working correctly

Cc @neon-nyan

bagusnl avatar Mar 27 '24 16:03 bagusnl

Issue should be addressed in 0ce8b9341c8296d8c6e3ff10d0055af3c35420c2. You can download the build artifact here and let us know if you still have the issue.

Cryotechnic avatar May 25 '24 03:05 Cryotechnic