Skip to content

Commit

Permalink
Update LWAC project.
Browse files Browse the repository at this point in the history
  • Loading branch information
kingcean committed Jul 23, 2024
1 parent 0fe4fc5 commit 3783589
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Cli/Lwac.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<PropertyGroup>
<OutputPath>..\bin\$(Configuration)\</OutputPath>
<DocumentationFile>..\bin\$(Configuration)\$(TargetFramework)\lwac.xml</DocumentationFile>
<ApplicationIcon>..\Materials\WinKit.ico</ApplicationIcon>
</PropertyGroup>

<ItemGroup>
Expand All @@ -29,6 +30,10 @@
<Compile Include="..\Common\Web\SignatureException.cs" Link="SignatureException.cs" />
</ItemGroup>

<ItemGroup>
<Content Include="..\Materials\WinKit.ico" Link="WinKit.cs" />
</ItemGroup>

<ItemGroup>
<None Include="..\Materials\logo.png" Pack="true" PackagePath="logo.png" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Cli/VersionVerb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ private IEnumerable<FileInfo> ReplaceStrings(JsonObjectNode json, DirectoryInfo
"utf32" => Encoding.UTF32,
_ => Encoding.GetEncoding(encodingStr) ?? Encoding.UTF8
};
if (placeholders == null) yield break;
if (placeholders == null || json.TryGetBooleanValue("disable") == true) yield break;
var idOriginal = placeholders.TryGetStringTrimmedValue("id", true);
var titleOriginal = placeholders.TryGetStringTrimmedValue("title", true);
var versionOriginal = placeholders.TryGetStringTrimmedValue("version", true);
Expand Down

0 comments on commit 3783589

Please sign in to comment.