Skip to content

Conversation

@Tiglit
Copy link

@Tiglit Tiglit commented Feb 16, 2025

If the download process of update packages is interrupted (due to network issues or the user closing the app), the "UpdateManager" still renames the download file and removes the ".partial" extension, resulting in an invalid package that cannot be applied and causing the download of the latest version to become locked.

Hi, I propose the following changes to address these issues, but you might have a clearer understanding of how to avoid them. Thanks anyway :)

@caesay
Copy link
Member

caesay commented Feb 16, 2025

Wow, thanks for finding this. Someone reported something similar about partial downloads in the past but I did not see the problem.

I have fixed this slightly differently in #521 but thanks a lot for taking the time to write a PR!

@caesay caesay closed this Feb 16, 2025
@Tiglit Tiglit deleted the SoftlockAfterDownloadInterrupted branch February 17, 2025 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants