Skip to content

Commit a387e4b

Browse files
committed
update nuget
1 parent 61baf9a commit a387e4b

5 files changed

Lines changed: 258 additions & 274 deletions

File tree

Source/Components/ImageGlass.Base/BHelper/JsonEx.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@ public override void Write(Utf8JsonWriter writer, DateTime date, JsonSerializerO
112112

113113
public override DateTime Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
114114
{
115-
return DateTime.ParseExact(reader.GetString(), Format, null);
115+
if (DateTime.TryParse(reader.GetString(), out var dt))
116+
{
117+
return dt;
118+
}
119+
120+
return default;
116121
}
117122
}

Source/Components/ImageGlass.Base/ImageGlass.Base.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@
8484
</ItemGroup>
8585

8686
<ItemGroup>
87-
<PackageReference Include="D2Phap.EggShell-ARM64" Version="1.0.517" Condition="'$(Platform)' == 'ARM64'" />
87+
<PackageReference Include="D2Phap.EggShell-ARM64" Version="1.1.208" Condition="'$(Platform)' == 'ARM64'" />
8888
<PackageReference Include="D2Phap.EggShell-x64" Version="1.1.208" Condition="'$(Platform)' == 'X64'" />
8989

90-
<PackageReference Include="Magick.NET-Q16-HDRI-OpenMP-arm64" Version="14.10.3" Condition="'$(Platform)' == 'ARM64'" />
91-
<PackageReference Include="Magick.NET-Q16-HDRI-OpenMP-x64" Version="14.10.3" Condition="'$(Platform)' == 'X64'" />
92-
<PackageReference Include="Magick.NET.SystemDrawing" Version="8.0.16" />
93-
<PackageReference Include="Magick.NET.SystemWindowsMedia" Version="8.0.16" />
90+
<PackageReference Include="Magick.NET-Q16-HDRI-OpenMP-arm64" Version="14.10.4" Condition="'$(Platform)' == 'ARM64'" />
91+
<PackageReference Include="Magick.NET-Q16-HDRI-OpenMP-x64" Version="14.10.4" Condition="'$(Platform)' == 'X64'" />
92+
<PackageReference Include="Magick.NET.SystemDrawing" Version="8.0.17" />
93+
<PackageReference Include="Magick.NET.SystemWindowsMedia" Version="8.0.17" />
9494

9595
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2151.40" />
9696
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.269">

Source/Components/ImageGlass.Settings/ImageGlass.Settings.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@
7171
</ItemGroup>
7272

7373
<ItemGroup>
74-
<PackageReference Include="Microsoft.Extensions.Configuration" Version="10.0.3" />
75-
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.3" />
76-
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="10.0.3" />
77-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="10.0.3" />
74+
<PackageReference Include="Microsoft.Extensions.Configuration" Version="10.0.5" />
75+
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.5" />
76+
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="10.0.5" />
77+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="10.0.5" />
7878
</ItemGroup>
7979

8080
<ItemGroup>

0 commit comments

Comments
 (0)