mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-08 21:26:52 +00:00
How to Display Electron progressbar modal in Electron.NET API ? #750
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SheltonAlves on GitHub (Jan 6, 2022).
I have asp.net core application and I use ElectronNET.API.Electron.AutoUpdater to check for update at initial app start and I display electron Dialog when Update is available .
I need to show the download progress in electron dialog is it possible?
How do I display download progress in modal from startup.cs page?
Code :
ElectronNET.API.Electron.AutoUpdater.OnUpdateNotAvailable += async e => await OnUpdateNotAvailable(e);
ElectronNET.API.Electron.AutoUpdater.OnUpdateAvailable += async e => await OnUpdateAvailable(e);
ElectronNET.API.Electron.AutoUpdater.OnError += async e => await OnInstallUpdateFailed(e);