diff --git a/context/scripts/Web.cs b/context/scripts/Web.cs index 00b3faf1b..dd88ec3e5 100644 --- a/context/scripts/Web.cs +++ b/context/scripts/Web.cs @@ -200,6 +200,7 @@ private static async Task DownloadFile(string name, string sourceUrl, stri { Stopwatch stopwatch = new Stopwatch(); stopwatch.Start(); + long lastPercent = -1; client.DownloadProgressChanged += (sender, args) => { long percent = 100 * args.BytesReceived / args.TotalBytesToReceive;