Implemented version fetching from source control git server. Added self version detection and update checks

This commit was merged in pull request #8.
This commit is contained in:
2026-02-01 14:47:32 +01:00
parent 76a8a72e83
commit c8fe11bd2b
11 changed files with 274 additions and 20 deletions

View File

@@ -0,0 +1,3 @@
namespace Moonlight.Shared.Http.Responses.Admin;
public record VersionDto(string Identifier, bool IsPreRelease, bool IsDevelopment, DateTimeOffset CreatedAt);

View File

@@ -43,6 +43,9 @@ namespace Moonlight.Shared.Http;
[JsonSerializable(typeof(UpdateThemeDto))]
[JsonSerializable(typeof(PagedData<ThemeDto>))]
[JsonSerializable(typeof(ThemeDto))]
//Misc
[JsonSerializable(typeof(VersionDto))]
public partial class SerializationContext : JsonSerializerContext
{
}