mirror of
https://github.com/Stone-Red-Code/AlwaysUpToDate.git
synced 2026-09-04 00:46:05 +02:00
Add UpdateStarted event to signal when update download begins
This commit is contained in:
@@ -51,12 +51,17 @@ updater.Start();
|
||||
...
|
||||
updater.ProgressChanged += Updater_ProgressChanged;
|
||||
updater.UpdateAvailible += Updater_UpdateAvailible;
|
||||
updater.UpdateStarted += Updater_UpdateStarted;
|
||||
}
|
||||
|
||||
private static void Updater_UpdateAvailible(string version, string additionalInformationUrl)
|
||||
{
|
||||
}
|
||||
|
||||
private static void Updater_UpdateStarted(string version)
|
||||
{
|
||||
}
|
||||
|
||||
private static void Updater_ProgressChanged(UpdateStep step, long? totalItems, long itemsProcessed, double? progressPercentage)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user