From ac0225a8ef83ca903eb0d524994b79fb316b75bd Mon Sep 17 00:00:00 2001 From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com> Date: Mon, 20 Dec 2021 11:34:49 +0100 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6044587..a6f5792 100644 --- a/README.md +++ b/README.md @@ -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) { } ```