Skip to content

Commit aee5ea6

Browse files
committed
feat: ANSI Shadowフォントのバナーに置き換え、Figgle依存を削除
FiggleFonts.Bigの代わりにANSI Shadow風Unicodeブロック文字を ハードコードしたraw string literalを使用。外部ライブラリ不要になり Figgleパッケージ参照も削除。 https://claude.ai/code/session_012bpiHpxpWTmHtE9aByVD3v
1 parent 244d380 commit aee5ea6

2 files changed

Lines changed: 17 additions & 9 deletions

File tree

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,32 @@
1-
using System;
2-
using Figgle;
3-
41
namespace FolderDiffIL4DotNet.Core.Console
52
{
63
/// <summary>
74
/// アプリ起動時のバナーを出力するクラス。
85
/// </summary>
96
public static class ConsoleBanner
107
{
8+
private const string Banner = """
9+
███████╗ ██████╗ ██╗ ██████╗ ███████╗ ██████╗ ██████╗ ██╗ ███████╗ ███████╗
10+
██╔════╝ ██╔═══██╗ ██║ ██╔══██╗ ██╔════╝ ██╔══██╗ ██╔══██╗ ╚═╝ ██╔════╝ ██╔════╝
11+
█████╗ ██║ ██║ ██║ ██║ ██║ █████╗ ██████╔╝ ██║ ██║ ██╗ █████╗ █████╗
12+
██╔══╝ ██║ ██║ ██║ ██║ ██║ ██╔══╝ ██╔══██╗ ██║ ██║ ██║ ██╔══╝ ██╔══╝
13+
██║ ╚██████╔╝ ██║ ██████╔╝ ███████╗ ██║ ██║ ██████╔╝ ██║ ██║ ██║
14+
╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝
15+
16+
██╗ ██╗ ██╗ ██╗ ██████╗ ██████╗ ████████╗ ███╗ ██╗ ███████╗ ████████╗
17+
██║ ██║ ██║ ██║ ██╔══██╗ ██╔═══██╗ ╚══██╔══╝ ████╗ ██║ ██╔════╝ ╚══██╔══╝
18+
██║ ██║ ███████║ ██║ ██║ ██║ ██║ ██║ ██╔██╗ ██║ █████╗ ██║
19+
██║ ██║ ╚════██║ ██║ ██║ ██║ ██║ ██║ ██║╚██╗██║ ██╔══╝ ██║
20+
██║ ███████╗ ██║ ██████╔╝ ╚██████╔╝ ██║ ██║ ╚████║ ███████╗ ██║
21+
╚═╝ ╚══════╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═══╝ ╚══════╝ ╚═╝
22+
""";
23+
1124
/// <summary>
1225
/// アプリ起動時の ASCII アートバナーをコンソールへ出力します。
1326
/// </summary>
1427
public static void Print()
1528
{
16-
System.Console.WriteLine(FiggleFonts.Big.Render("FolderDiff").TrimEnd());
17-
System.Console.WriteLine(FiggleFonts.Big.Render("IL4DotNet").TrimEnd());
18-
System.Console.WriteLine();
29+
System.Console.WriteLine(Banner);
1930
}
2031
}
2132
}

FolderDiffIL4DotNet.Core/FolderDiffIL4DotNet.Core.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,5 @@
77
<NoWarn>$(NoWarn);1572;1573;1574;1591</NoWarn>
88
</PropertyGroup>
99

10-
<ItemGroup>
11-
<PackageReference Include="Figgle" Version="0.5.1" />
12-
</ItemGroup>
1310

1411
</Project>

0 commit comments

Comments
 (0)