add project
This commit is contained in:
23
Pilz.Updating/UpdatePackageInfo.cs
Normal file
23
Pilz.Updating/UpdatePackageInfo.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace SM64_ROM_Manager.Updating
|
||||
{
|
||||
public class UpdatePackageInfo
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public ApplicationVersion Version { get; set; }
|
||||
public UpdateNotes Notes { get; } = new UpdateNotes();
|
||||
public string Packagelink { get; set; }
|
||||
|
||||
[JsonProperty]
|
||||
private string Changelog
|
||||
{
|
||||
set
|
||||
{
|
||||
Notes.Content = value;
|
||||
Notes.ContentType = UpdateNotesContentType.PlainText;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user