feature: simple self-update implementation (#29)

This commit is contained in:
leo 2024-03-26 22:11:06 +08:00
parent 86a1148148
commit 92e065feba
15 changed files with 494 additions and 7 deletions

View file

@ -0,0 +1,9 @@
using System.Text.Json.Serialization;
namespace SourceGit
{
[JsonSourceGenerationOptions(WriteIndented = true, IgnoreReadOnlyFields = true, IgnoreReadOnlyProperties = true)]
[JsonSerializable(typeof(Models.Version))]
[JsonSerializable(typeof(ViewModels.Preference))]
internal partial class JsonCodeGen : JsonSerializerContext { }
}