Update README.md

This commit is contained in:
Stone_Red
2021-12-20 11:34:49 +01:00
committed by GitHub
parent a9dda4430f
commit ac0225a8ef
+3 -3
View File
@@ -39,7 +39,7 @@ While extracting the zip file all the files that have the same name/path as in t
### Creating new `Updater` and starting it
```cs
Updater downloader = new Updater(
Updater updater = new Updater(
new TimeSpan(0, 0, 1), //Update interval
"https://raw.githubusercontent.com/Stone-Red-Code/Test/main/test.json", //Json file url
"./" //Install path
@@ -53,11 +53,11 @@ updater.Start();
updater.UpdateAvailible += Updater_UpdateAvailible;
}
private static void Downloader_UpdateAvailible(string version, string additionalInformationUrl)
private static void Updater_UpdateAvailible(string version, string additionalInformationUrl)
{
}
private static void Downloader_ProgressChanged(long? totalFileSize, long totalBytesDownloaded, double? progressPercentage)
private static void Updater_ProgressChanged(long? totalFileSize, long totalBytesDownloaded, double? progressPercentage)
{
}
```