diff --git a/Kiseki.Launcher/Models/GitHubRelease.cs b/Kiseki.Launcher/Models/GitHubRelease.cs new file mode 100644 index 0000000..51559a2 --- /dev/null +++ b/Kiseki.Launcher/Models/GitHubRelease.cs @@ -0,0 +1,30 @@ +namespace Kiseki.Launcher.Models; + +using System.Text.Json.Serialization; + +public class GitHubRelease +{ + [JsonPropertyName("tag_name")] + public string TagName { get; set; } = null!; + + [JsonPropertyName("name")] + public string Name { get; set; } = null!; + + [JsonPropertyName("body")] + public string Body { get; set; } = null!; + + [JsonPropertyName("created_at")] + public string CreatedAt { get; set; } = null!; + + [JsonPropertyName("assets")] + public List? Assets { get; set; } +} + +public class GitHubReleaseAsset +{ + [JsonPropertyName("browser_download_url")] + public string BrowserDownloadUrl { get; set; } = null!; + + [JsonPropertyName("name")] + public string Name { get; set; } = null!; +} \ No newline at end of file