Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/UniGetUI.Core.Data.Tests/CoreTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/UniGetUI.Core.Data/CoreData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 19 additions & 1 deletion src/UniGetUI.Tests/ToolbarSelectionStateTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
Loading