Add favicon and window title

This commit is contained in:
Masahiko AMANO 2022-03-11 18:22:56 +03:00
parent 2c477ef637
commit b953371536
4 changed files with 15 additions and 0 deletions

View File

@ -8,6 +8,7 @@
Database database = new(); Database database = new();
int PlayerId; int PlayerId;
string PlayerName = ""; string PlayerName = "";
Console.Title = "MineSweeper by H1K0";
Console.WriteLine("(C) Masahiko AMANO a.k.a. H1K0, 2022\n\n" + Console.WriteLine("(C) Masahiko AMANO a.k.a. H1K0, 2022\n\n" +
"Hey! Let's play the MineSweeper game!\nPress any button for help or Enter to log in."); "Hey! Let's play the MineSweeper game!\nPress any button for help or Enter to log in.");
while (Console.ReadKey(true).Key != ConsoleKey.Enter) while (Console.ReadKey(true).Key != ConsoleKey.Enter)

View File

@ -10,6 +10,20 @@
<Authors>H1K0</Authors> <Authors>H1K0</Authors>
<StartupObject>MineSweeper.Program</StartupObject> <StartupObject>MineSweeper.Program</StartupObject>
<PackageProjectUrl>https://github.com/H1K0/MineSweeper</PackageProjectUrl> <PackageProjectUrl>https://github.com/H1K0/MineSweeper</PackageProjectUrl>
<ApplicationIcon>favicon.ico</ApplicationIcon>
<Description>Console MineSweeper game on C#</Description>
<PackageIcon>favicon.png</PackageIcon>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<Content Include="favicon.ico" />
</ItemGroup>
<ItemGroup>
<None Update="favicon.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
</Project> </Project>

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB