Update FakeDeckUI/FakeDeck/Class/AutoUpdateHelper.cs

This commit is contained in:
Václav Španinger 2024-09-16 06:52:25 +00:00
parent 987ccad5b9
commit 6ab18fdf70

View File

@ -20,6 +20,7 @@ namespace FakeDeck.Class
AutoUpdater.ParseUpdateInfoEvent += AutoUpdaterOnParseUpdateInfoEvent; AutoUpdater.ParseUpdateInfoEvent += AutoUpdaterOnParseUpdateInfoEvent;
AutoUpdater.Synchronous = true; AutoUpdater.Synchronous = true;
AutoUpdater.ShowRemindLaterButton = false; AutoUpdater.ShowRemindLaterButton = false;
AutoUpdater.ClearAppDirectory = false;
//AutoUpdater.ReportErrors = Debugger.IsAttached; //AutoUpdater.ReportErrors = Debugger.IsAttached;
AutoUpdater.HttpUserAgent = ("FakeDeck-v" + Assembly.GetExecutingAssembly().GetName().Version); AutoUpdater.HttpUserAgent = ("FakeDeck-v" + Assembly.GetExecutingAssembly().GetName().Version);
AutoUpdater.Start("https://api.github.com/repos/GamerClassN7/FakeDeck/releases/latest"); AutoUpdater.Start("https://api.github.com/repos/GamerClassN7/FakeDeck/releases/latest");