14 lines
364 B
C#
14 lines
364 B
C#
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace ModpackUpdater;
|
|
|
|
public class UpdateInfo : IActionSetInfos
|
|
{
|
|
[JsonConverter(typeof(VersionConverter))]
|
|
public Version Version { get; set; }
|
|
|
|
public List<UpdateAction> Actions { get; } = [];
|
|
|
|
IEnumerable<InstallAction> IActionSetInfos.Actions => Actions.Cast<InstallAction>();
|
|
} |