Set download progress to zero immediately, don't wait for progress event.
This commit is contained in:
@@ -521,6 +521,7 @@ async function dlAsync(login = true) {
|
||||
if(invalidFileCount > 0) {
|
||||
loggerLaunchSuite.info('Downloading files.')
|
||||
setLaunchDetails('Downloading files..')
|
||||
setLaunchPercentage(0)
|
||||
try {
|
||||
await fullRepairModule.download(percent => {
|
||||
setDownloadPercentage(percent)
|
||||
|
||||
Reference in New Issue
Block a user