add single file type
This commit is contained in:
@@ -7,15 +7,25 @@ namespace Pilz.Updating;
|
||||
public class UpdatePackageInfo(AppVersion version, string address)
|
||||
{
|
||||
public string? Name { get; set; }
|
||||
|
||||
[JsonConverter(typeof(AppVersionStringJsonConverter))]
|
||||
public AppVersion Version { get; set; } = version;
|
||||
|
||||
public UpdateNotes Notes { get; } = new();
|
||||
|
||||
public string Address { get; set; } = address;
|
||||
|
||||
public string? ExePath { get; set; }
|
||||
|
||||
[JsonConverter(typeof(StringEnumConverter))]
|
||||
public PackageAddressType AddressType { get; set; }
|
||||
|
||||
[JsonConverter(typeof(StringEnumConverter))]
|
||||
public PackageType Type { get; set; }
|
||||
public PackageType PackageType { get; set; }
|
||||
|
||||
[JsonConverter(typeof(StringEnumConverter))]
|
||||
public UpdateType UpdateType { get; set; }
|
||||
|
||||
[Obsolete, JsonProperty]
|
||||
private string Packagelink => Address;
|
||||
}
|
||||
Reference in New Issue
Block a user