- add: zip content support
This commit is contained in:
@@ -3,6 +3,7 @@ namespace Nebula.Shared.Models;
|
||||
public class RobustBuildInfo
|
||||
{
|
||||
public ServerInfo BuildInfo = default!;
|
||||
public RobustManifestInfo RobustManifestInfo;
|
||||
public RobustManifestInfo? RobustManifestInfo;
|
||||
public RobustZipContentInfo? DownloadUri;
|
||||
public RobustUrl Url = default!;
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
namespace Nebula.Shared.Models;
|
||||
|
||||
public record struct RobustManifestInfo(Uri ManifestUri, Uri DownloadUri, string Hash);
|
||||
public record struct RobustManifestInfo(Uri ManifestUri, Uri DownloadUri, string Hash);
|
||||
public record struct RobustZipContentInfo(Uri DownloadUri, string Hash);
|
||||
@@ -20,7 +20,7 @@ public sealed record BuildInfo(
|
||||
string ManifestDownloadUrl,
|
||||
[property: JsonPropertyName("manifest_url")]
|
||||
string ManifestUrl,
|
||||
[property: JsonPropertyName("acz")] bool Acz,
|
||||
[property: JsonPropertyName("acz")] bool? Acz,
|
||||
[property: JsonPropertyName("hash")] string Hash,
|
||||
[property: JsonPropertyName("manifest_hash")]
|
||||
string ManifestHash);
|
||||
|
||||
Reference in New Issue
Block a user