Draft implementation of providing UI feedback on hashing process. Shows num_hashed/total_files and length_hashed/total_length in UI prior to download starting. I added a Thread.Sleep() in Worker in the hashing section so that we can see the hashing part of the UI in testing (otherwise it won't show up at all on my computer).
Added a bool to track the start of downloading in Patcher so that 'starting download' text can be displayed in the form (not sure if there's a better way to track that) and also prevented files from giving the 'downloaded file.ext' text in form if they weren't actually downloaded.
Removed extra form tick after loop - issue with progressbar text was due to requiring Text to be modified prior to the Value assignment.
I added a draft of the UpdateStage handling in the 2nd commit, still have a few more things I want to do and test (and still needs German strings for the status changes).
Draft implementation of providing UI feedback on hashing process. Shows num_hashed/total_files and length_hashed/total_length in UI prior to download starting. I added a Thread.Sleep() in Worker in the hashing section so that we can see the hashing part of the UI in testing (otherwise it won't show up at all on my computer).
Added a bool to track the start of downloading in Patcher so that 'starting download' text can be displayed in the form (not sure if there's a better way to track that) and also prevented files from giving the 'downloaded file.ext' text in form if they weren't actually downloaded.
Removed extra form tick after loop - issue with progressbar text was due to requiring Text to be modified prior to the Value assignment.