From 12308369121c8984b564d395e11c69c1f71abf17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D0=B2=D0=B8=D0=B4=20=D0=A7=D0=B5=D1=80=D0=BD?= =?UTF-8?q?=D0=BE=D0=BF=D1=8F=D1=82=D0=BE=D0=B2?= Date: Thu, 1 Feb 2024 01:53:58 +0200 Subject: [PATCH] Added update.json --- NebulaAuth/Core/MyUpdateManager.cs | 12 ------------ NebulaAuth/Core/UpdateManager.cs | 15 +++++++++++++++ NebulaAuth/update.json | 5 +++++ 3 files changed, 20 insertions(+), 12 deletions(-) delete mode 100644 NebulaAuth/Core/MyUpdateManager.cs create mode 100644 NebulaAuth/Core/UpdateManager.cs create mode 100644 NebulaAuth/update.json diff --git a/NebulaAuth/Core/MyUpdateManager.cs b/NebulaAuth/Core/MyUpdateManager.cs deleted file mode 100644 index dbe48de..0000000 --- a/NebulaAuth/Core/MyUpdateManager.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.Threading.Tasks; - - -namespace NebulaAuth.Core; - -public static class UpdateManager -{ - public static async Task CheckForUpdates() - { - - } -} \ No newline at end of file diff --git a/NebulaAuth/Core/UpdateManager.cs b/NebulaAuth/Core/UpdateManager.cs new file mode 100644 index 0000000..9056657 --- /dev/null +++ b/NebulaAuth/Core/UpdateManager.cs @@ -0,0 +1,15 @@ +using System.Threading.Tasks; +using AutoUpdaterDotNET; + + + +namespace NebulaAuth.Core; + +public static class UpdateManager +{ + public static async Task CheckForUpdates() + { + AutoUpdater.Start("https://rbsoft.org/updates/AutoUpdaterTest.xml"); + + } +} \ No newline at end of file diff --git a/NebulaAuth/update.json b/NebulaAuth/update.json new file mode 100644 index 0000000..70c03ba --- /dev/null +++ b/NebulaAuth/update.json @@ -0,0 +1,5 @@ +{ + "version": "1.3.4.0", + "url": "https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies/releases/download/Release/NebulaAuth.1.4.3.zip", + "changelog": "https://github.com/ravibpatel/AutoUpdater.NET/releases" +} \ No newline at end of file