mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 04:04:59 +00:00
Merge pull request #92 from ennerperez/feature/issues-77
code_review: * use JsonSerializerContext to avoid AOT warnnings * since we call TryAdd by interating the installed tools, so detecting by environment variable becomes meaningless (it can not detect tools not installed by Toolbox). Just add it into founded directly * remove unnecessary type defines * determine the Icon used by tool while adding it to the founded list. # Conflicts: # src/Native/Linux.cs # src/Native/MacOS.cs # src/Native/Windows.cs
This commit is contained in:
commit
9a68418f51
24 changed files with 87 additions and 33 deletions
|
@ -4,6 +4,7 @@ namespace SourceGit
|
|||
{
|
||||
[JsonSourceGenerationOptions(WriteIndented = true, IgnoreReadOnlyFields = true, IgnoreReadOnlyProperties = true)]
|
||||
[JsonSerializable(typeof(Models.Version))]
|
||||
[JsonSerializable(typeof(Models.JetBrainsState))]
|
||||
[JsonSerializable(typeof(ViewModels.Preference))]
|
||||
internal partial class JsonCodeGen : JsonSerializerContext { }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue