You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using SignalR package to show the download progress to our electron desktop application. But it was found that the Electron.AutoUpdater.OnDownloadProgress was not getting called during differential update download after Electron.AutoUpdater.DownloadUpdateAsync(); was called.
However after deleting all the files inside C:\Users\username\AppData\Local\electron-updater and calling DownloadUpdateAsync(); the OnDownloadProgress works.
We are using SignalR package to show the download progress to our electron desktop application. But it was found that the Electron.AutoUpdater.OnDownloadProgress was not getting called during differential update download after Electron.AutoUpdater.DownloadUpdateAsync(); was called.
However after deleting all the files inside C:\Users\username\AppData\Local\electron-updater and calling DownloadUpdateAsync(); the OnDownloadProgress works.
Electron Package: ElectronNET.API Version:13.5.1
.Net Version: 5.0
Node Version: v14.15.0
Electron.AutoUpdater.OnDownloadProgress += async (info) =>
{
var percentage = Math.Round(Convert.ToDouble(info.Percent), 1);
var totalsizeinmb = FormatSize(Convert.ToInt64(info.Total), "MB");
var downloadspeedinmb = FormatSize(Convert.ToInt64(info.BytesPerSecond), "MB");
var transfereedinmb = FormatSize(Convert.ToInt64(info.Transferred), "MB");
Console.WriteLine("percentage: " + percentage + "totalSize: " + totalsizeinmb + "downloadspeed: " + downloadspeedinmb + "transferSpeed: " + transfereedinmb);
await app.ApplicationServices.GetRequiredService().Clients.All.SendAsync("ReceiveDownloadProgress", percentage.ToString(), downloadspeedinmb, transfereedinmb, totalsizeinmb);
};
The text was updated successfully, but these errors were encountered: