changed to update.xml

This commit is contained in:
Давид Чернопятов
2024-02-01 02:03:58 +02:00
parent 1230836912
commit 7586ce3d26
4 changed files with 11 additions and 7 deletions
+3 -2
View File
@@ -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);
}
}
+1
View File
@@ -41,6 +41,7 @@ public partial class MainVM : ObservableObject
QueryGroups();
SessionHandler.LoginStarted += SessionHandlerOnLoginStarted;
SessionHandler.LoginCompleted += SessionHandlerOnLoginCompleted;
UpdateManager.CheckForUpdates();
}
-5
View File
@@ -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"
}
+7
View File
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>1.3.4.0</version>
<url>https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies/releases/download/Release/NebulaAuth.1.4.3.zip</url>
<changelog>https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies/releases/tag/Release</changelog>
<mandatory>false</mandatory>
</item>