Skip to content

Commit

Permalink
swapped out icon
Browse files Browse the repository at this point in the history
using linked ..\ILSpy\Images\ILSpy.ico
  • Loading branch information
h0lg committed Nov 12, 2024
1 parent 42286c7 commit 73480dd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ICSharpCode.ILSpyX/ICSharpCode.ILSpyX.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<None Remove="MermaidDiagrammer\html\package-lock.json" />
<None Remove="MermaidDiagrammer\html\package.json" />
<None Remove="MermaidDiagrammer\html\styles.less" />
<EmbeddedResource Include="MermaidDiagrammer\html\netAmermaid.ico" />
<EmbeddedResource Include="..\ILSpy\Images\ILSpy.ico" Link="MermaidDiagrammer\html\ILSpy.ico" />
<EmbeddedResource Include="MermaidDiagrammer\html\script.js" />
<EmbeddedResource Include="MermaidDiagrammer\html\styles.css" />
<EmbeddedResource Include="MermaidDiagrammer\html\template.html" />
Expand Down
2 changes: 1 addition & 1 deletion ICSharpCode.ILSpyX/MermaidDiagrammer/Generator.Run.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ private void GenerateOutput(string assemblyPath, ClassDiagrammer model)
File.WriteAllText(Path.Combine(outputFolder, "index.html"), html);

// copy required resources to output folder while flattening paths if required
foreach (var resource in new[] { "styles.css", "netAmermaid.ico", "script.js" })
foreach (var resource in new[] { "styles.css", "ILSpy.ico", "script.js" })
EmbeddedResource.CopyTo(outputFolder, resource);

Console.WriteLine("Successfully generated HTML diagrammer.");
Expand Down
Binary file not shown.
6 changes: 3 additions & 3 deletions ICSharpCode.ILSpyX/MermaidDiagrammer/html/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>{{SourceAssemblyName}} class diagrammer - ILSpy</title>
<link rel="icon" type="image/x-icon" href="netAmermaid.ico" />
<link rel="icon" type="image/x-icon" href="ILSpy.ico" />
<link rel="stylesheet" href="styles.css" type="text/css" />
<style id="filter-width"></style>
</head>
Expand Down Expand Up @@ -66,7 +66,7 @@ <h3>Looking for help with something else?</h3>
Get a hint for elements with helping tooltips using [Alt + i].
</p>
<p>Alternatively, find helpful links to the docs and discussions in the
<a href="#build-info" class="toggle">build info <img src="netAmermaid.ico" /></a></p>
<a href="#build-info" class="toggle">build info <img src="ILSpy.ico" /></a></p>
<p>If you find this helpful and want to share your 📺 screen and 🎓 wisdom on how it works
with a 🦗 newcomer, try toggling <b>presentation mode</b> using [Ctrl + i].</p>
</div>
Expand Down Expand Up @@ -181,7 +181,7 @@ <h3>Looking for help with something else?</h3>
<a target="_blank" href="{{RepoUrl}}/releases/latest" title="☄️ download the latest bits to 🌊 generate better diagrammers">🌩️</a>
</span>
</div>
<img data-toggles="#build-info" src="netAmermaid.ico" />
<img data-toggles="#build-info" src="ILSpy.ico" />
</div>
</div>

Expand Down

0 comments on commit 73480dd

Please sign in to comment.