using ReleaseUpdater; namespace Updater.Test; internal class Program { static async Task Main(string[] args) { string installPath = AppDomain.CurrentDomain.BaseDirectory; string appExe = "RetailUpdatesBot.exe"; string updaterPath = Path.Combine(installPath, "Tools\\Updater.exe"); var url = "https://git.frigat.duckdns.org/api/v1/repos/automacon/RetailUpdatesBot/releases"; var APIKey = "0552a77699d7506711946fc71cc6635515726bd1"; //токен await ReleaseUpdaterFacade.UpdateWithExternalAsync(url, APIKey, installPath, appExe, "latest", updaterPath, true); Console.ReadKey(); } }