diff --git a/src/UniGetUI.Core.Data.Tests/CoreTests.cs b/src/UniGetUI.Core.Data.Tests/CoreTests.cs index 364a14f1da..2c60cddd67 100644 --- a/src/UniGetUI.Core.Data.Tests/CoreTests.cs +++ b/src/UniGetUI.Core.Data.Tests/CoreTests.cs @@ -109,7 +109,7 @@ public void CheckGitHubReleaseUrlsUseEscapedResolvedTag() "https://api.github.com/repos/Devolutions/UniGetUI/releases/tags/3.3.7-beta1", CoreData.GetGitHubReleaseApiUrlFromTag("3.3.7-beta1") ); - Assert.Equal("https://devolutions.net/unigetui/release-notes/", CoreData.ReleaseNotesUrl); + Assert.Equal("https://devolutions.net/data/UniGetUIChangeHistoryUpdate.htm", CoreData.ReleaseNotesUrl); Assert.Equal(CoreData.ReleaseNotesUrl, CoreData.GetGitHubReleasePageUrl()); } } diff --git a/src/UniGetUI.Core.Data/CoreData.cs b/src/UniGetUI.Core.Data/CoreData.cs index f23beab61a..724eb0e79b 100644 --- a/src/UniGetUI.Core.Data/CoreData.cs +++ b/src/UniGetUI.Core.Data/CoreData.cs @@ -8,7 +8,7 @@ public static class CoreData { private const string GitHubReleasePageBaseUrl = "https://github.com/Devolutions/UniGetUI/releases/tag/"; private const string GitHubReleaseApiBaseUrl = "https://api.github.com/repos/Devolutions/UniGetUI/releases/tags/"; - public const string ReleaseNotesUrl = "https://devolutions.net/unigetui/release-notes/"; + public const string ReleaseNotesUrl = "https://devolutions.net/data/UniGetUIChangeHistoryUpdate.htm"; private static int? __code_page; public static int CODE_PAGE diff --git a/src/UniGetUI.Tests/ToolbarSelectionStateTests.cs b/src/UniGetUI.Tests/ToolbarSelectionStateTests.cs index fecc9941b7..0d5e0ef1bf 100644 --- a/src/UniGetUI.Tests/ToolbarSelectionStateTests.cs +++ b/src/UniGetUI.Tests/ToolbarSelectionStateTests.cs @@ -16,7 +16,25 @@ public sealed class ToolbarSelectionStateTests : IDisposable public ToolbarSelectionStateTests() => Directory.CreateDirectory(_directory); - public void Dispose() => Directory.Delete(_directory, true); + public void Dispose() + { + for (int attempt = 1; ; attempt++) + { + try + { + Directory.Delete(_directory, true); + return; + } + catch (IOException) when (attempt < 20) + { + Thread.Sleep(50); + } + catch (IOException) + { + return; + } + } + } private static CatalogEntry Entry(string id) => new() {