diff --git a/AaxDecrypter/AaxcDownloadConverter.cs b/AaxDecrypter/AaxcDownloadConverter.cs index 9c97aaab..6cb90ee6 100644 --- a/AaxDecrypter/AaxcDownloadConverter.cs +++ b/AaxDecrypter/AaxcDownloadConverter.cs @@ -152,6 +152,7 @@ namespace AaxDecrypter public bool Step3_DownloadAndCombine() { + DecryptProgressUpdate?.Invoke(this, int.MaxValue); bool userSuppliedChapters = chapters != null; string metadataPath = null; diff --git a/LibationWinForms/BookLiberation/DecryptForm.cs b/LibationWinForms/BookLiberation/DecryptForm.cs index 0c03c76f..6788a774 100644 --- a/LibationWinForms/BookLiberation/DecryptForm.cs +++ b/LibationWinForms/BookLiberation/DecryptForm.cs @@ -64,7 +64,14 @@ namespace LibationWinForms.BookLiberation if (percentage == 0) remainingTimeLbl.UIThread(() => remainingTimeLbl.Text = "ETA:\r\n0 sec"); - progressBar1.UIThread(() => progressBar1.Value = percentage); + if (percentage == int.MaxValue) + progressBar1.UIThread(() => progressBar1.Style = ProgressBarStyle.Marquee); + else + progressBar1.UIThread(() => + { + progressBar1.Value = percentage; + progressBar1.Style = ProgressBarStyle.Blocks; + }); } public void UpdateRemainingTime(TimeSpan remaining)