start a big rework

This commit is contained in:
Schedel Pascal
2024-06-19 15:01:27 +02:00
parent c9216ac79b
commit 77ddd2a72a
25 changed files with 599 additions and 1697 deletions

View File

@@ -1,22 +1,9 @@
using Newtonsoft.Json;
namespace Pilz.Updating;
namespace Pilz.Updating;
public class UpdatePackageInfo
{
public string Name { get; set; }
public ApplicationVersion Version { get; set; }
public UpdateNotes Notes { get; } = new UpdateNotes();
public UpdateNotes Notes { get; } = new();
public string Packagelink { get; set; }
[JsonProperty]
private string Changelog
{
set
{
Notes.Content = value;
Notes.ContentType = UpdateNotesContentType.PlainText;
}
}
}