changed.velopack,试试rust

This commit is contained in:
lincube
2026-04-19 12:36:14 +08:00
parent 4f9feafbbe
commit 8e21364eed
16 changed files with 615 additions and 309 deletions

View File

@@ -0,0 +1,23 @@
namespace LanMountainDesktop.Launcher.Models;
internal sealed class VelopackReleaseFeed
{
public List<VelopackReleaseAsset> Assets { get; set; } = [];
}
internal sealed class VelopackReleaseAsset
{
public string PackageId { get; set; } = string.Empty;
public string Version { get; set; } = string.Empty;
public string Type { get; set; } = string.Empty;
public string FileName { get; set; } = string.Empty;
public string? SHA1 { get; set; }
public string? SHA256 { get; set; }
public long Size { get; set; }
}