Skip to content

Commit

Permalink
Fixed obsolete warning for Json options.
Browse files Browse the repository at this point in the history
Updated build script to remove vestigial installer in the Releases directory.
  • Loading branch information
RandomEngy committed Jan 25, 2022
1 parent 10bf434 commit 799d6e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VidCoderCommon/Utilities/JsonOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ private static JsonSerializerOptions CreateDefaultOptions()
{
var defaultOptions = new JsonSerializerOptions
{
IgnoreNullValues = true,
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
WriteIndented = true
};
defaultOptions.Converters.Add(new VersionConverter());
Expand Down
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Squirrel pack `
--framework net6-x64

ExitIfFailed;
copy ("$releaseDir\" + $packId + "Setup.exe") ".\Installer\BuiltInstallers\$binaryNameBase.exe"
Move-Item -Path ("$releaseDir\" + $packId + "Setup.exe") -Destination ".\Installer\BuiltInstallers\$binaryNameBase.exe" -Force

WriteSuccess

Expand Down

0 comments on commit 799d6e0

Please sign in to comment.