diff --git a/NebulaAuth/Core/UpdateManager.cs b/NebulaAuth/Core/UpdateManager.cs index 9056657..eda4b78 100644 --- a/NebulaAuth/Core/UpdateManager.cs +++ b/NebulaAuth/Core/UpdateManager.cs @@ -7,9 +7,10 @@ namespace NebulaAuth.Core; public static class UpdateManager { - public static async Task CheckForUpdates() + private const string UPDATE_URL = "https://raw.githubusercontent.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies/master/NebulaAuth/update.json"; + public static void CheckForUpdates() { - AutoUpdater.Start("https://rbsoft.org/updates/AutoUpdaterTest.xml"); + AutoUpdater.Start(UPDATE_URL); } } \ No newline at end of file diff --git a/NebulaAuth/ViewModel/MainVM.cs b/NebulaAuth/ViewModel/MainVM.cs index 0aea031..e000bd5 100644 --- a/NebulaAuth/ViewModel/MainVM.cs +++ b/NebulaAuth/ViewModel/MainVM.cs @@ -41,6 +41,7 @@ public partial class MainVM : ObservableObject QueryGroups(); SessionHandler.LoginStarted += SessionHandlerOnLoginStarted; SessionHandler.LoginCompleted += SessionHandlerOnLoginCompleted; + UpdateManager.CheckForUpdates(); } diff --git a/NebulaAuth/update.json b/NebulaAuth/update.json deleted file mode 100644 index 70c03ba..0000000 --- a/NebulaAuth/update.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "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 diff --git a/NebulaAuth/update.xml b/NebulaAuth/update.xml new file mode 100644 index 0000000..27740dc --- /dev/null +++ b/NebulaAuth/update.xml @@ -0,0 +1,7 @@ + + + 1.3.4.0 + https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies/releases/download/Release/NebulaAuth.1.4.3.zip + https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies/releases/tag/Release + false + \ No newline at end of file