Display ETA when downloading.

This commit is contained in:
BruceChen 2022-12-01 23:37:15 +08:00
parent 28827b720a
commit 2ad6d02d59
4 changed files with 14 additions and 8 deletions

View file

@ -31,8 +31,10 @@ namespace MinecraftClient.Commands
private static string DownloadUpdate(bool force)
{
UpgradeHelper.DownloadLatestBuild(force);
return Translations.mcc_update_start;
if (UpgradeHelper.DownloadLatestBuild(force))
return Translations.mcc_update_start;
else
return Translations.mcc_update_already_running;
}
private static string CancelDownloadUpdate()