CollapseLauncher / Collapse

An Advanced Launcher for miHoYo/HoYoverse Games
MIT License
1.41k stars 65 forks source link

Avoid another infinity number on repair progress percentage #355

Closed shatyuka closed 11 months ago

shatyuka commented 11 months ago

Discussed in Discord. Also https://github.com/CollapseLauncher/Collapse/commit/df65109fab76f3b3f77b60e74a578bef80618105#commitcomment-136007124

bagusnl commented 11 months ago

While this is a great fix, I'm quite curious how this happens in the first place? As I can't replicate it on my end

shatyuka commented 11 months ago

Try do a game repair for HSRCN, there is a file marked as unused. We got total file size = 0, and INF for progress.

neon-nyan commented 11 months ago

The rest are looking good to me besides the comment from me and @Cryotechnic