Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Automatically remove downloaded launcher from %temp% in certain situations #2477
Reported by elliott94 on 2012-06-20 10:05
If an update is manually canceled by the user during the download, the file is kept in the temperary directory and not removed. If several updates are canceled using this method, they waste disk space.
I think tthe best way to handel this is to check if any updates are in the temperary directory when a new update is downloaded, and if found, remove them acordingly.
Comment 1 by jteh on 2012-06-20 10:15
The code doesn't removed failed downloads. This should be fixed.