Skip to content

Commit

Permalink
moved buildgdx to github, updated to 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsfds committed Feb 6, 2025
1 parent 70dd4f4 commit c5dde94
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>1.2.0</Version>
<Version>1.3.0</Version>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<PackageVersion Include="System.Private.Uri" Version="4.3.2" />
<PackageVersion Include="xunit" Version="2.9.3" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.1" />
<PackageVersion Include="AWSSDK.S3" Version="3.7.413.3" />
<PackageVersion Include="AWSSDK.S3" Version="3.7.413.4" />
<PackageVersion Include="ConfigureAwaitAnalyzer" Version="1.1.0" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="7.2.0" />
<PackageVersion Include="Microsoft.AspNetCore.SpaProxy" Version="9.0.1" />
Expand Down
13 changes: 0 additions & 13 deletions src/Ports/Providers/PortsReleasesRepoRetriever.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,6 @@ HttpClient httpClient

Dictionary<OSEnum, GeneralReleaseEntity>? result = null;

if (portEnum is PortEnum.BuildGDX)
{
GeneralReleaseEntity bgdxRelease = new()
{
SupportedOS = OSEnum.Windows,
Description = string.Empty,
Version = "1.17",
DownloadUrl = repo.RepoUrl
};

return new() { { OSEnum.Windows, bgdxRelease } };
}

if (repo.RepoUrl is null)
{
return null;
Expand Down
5 changes: 2 additions & 3 deletions src/Ports/Providers/PortsRepositoriesProvider.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Common.Entities;
using Common.Enums;
using Common.Helpers;
using CommunityToolkit.Diagnostics;

namespace Ports.Providers;
Expand All @@ -13,8 +12,8 @@ public static RepositoryEntity GetPortRepo(PortEnum portEnum)
{
return new()
{
RepoUrl = new($"{Consts.FilesRepo}/Ports/BuildGDX_v117.zip"),
WindowsReleasePredicate = null,
RepoUrl = new("https://api.github.com/repos/fgsfds/BuildGDX-Releases/releases"),
WindowsReleasePredicate = static x => x.FileName.EndsWith("windows.zip", StringComparison.OrdinalIgnoreCase),
LinuxReleasePredicate = null,
};
}
Expand Down

0 comments on commit c5dde94

Please sign in to comment.