Files
LanMountainDesktop/LanMountainDesktop.Launcher/AppJsonContext.cs
lincube 8b8c7d1e7f Use AppJsonContext for startup state serialization
Switch serialization to the source-generated System.Text.Json context: add JsonSerializable(typeof(StartupAttemptRecord)) to AppJsonContext and replace the previous JsonSerializerOptions-based Serialize/Deserialize calls with AppJsonContext.Default.StartupAttemptRecord. Also remove the now-unused SerializerOptions field. Additionally, update .gitignore to exclude /test-aot-publish.
2026-04-24 20:55:33 +08:00

1.8 KiB