Add favicon and window title
This commit is contained in:
parent
2c477ef637
commit
b953371536
1
Main.cs
1
Main.cs
@ -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)
|
||||||
|
|||||||
@ -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
BIN
favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
BIN
favicon.png
Normal file
BIN
favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
Reference in New Issue
Block a user