mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-25 15:42:57 +08:00
Update splash screen for MQTTnet.Server.
This commit is contained in:
@@ -27,45 +27,42 @@ namespace MQTTnet.Server
|
|||||||
private static void PrintLogo()
|
private static void PrintLogo()
|
||||||
{
|
{
|
||||||
Console.ResetColor();
|
Console.ResetColor();
|
||||||
Console.ForegroundColor = ConsoleColor.White;
|
Console.ForegroundColor = ConsoleColor.Red;
|
||||||
Console.BackgroundColor = ConsoleColor.Red;
|
|
||||||
const string LogoText =
|
const string LogoText =
|
||||||
@"| |
|
@"
|
||||||
| __ __ ____ _______ _______ _ _____ |
|
|
||||||
| | \/ |/ __ \__ __|__ __| | | / ____| |
|
███╗ ███╗ ██████╗ ████████╗████████╗███╗ ██╗███████╗████████╗ ███████╗███████╗██████╗ ██╗ ██╗███████╗██████╗
|
||||||
| | \ / | | | | | | | |_ __ ___| |_ | (___ ___ _ ____ _____ _ __ |
|
████╗ ████║██╔═══██╗╚══██╔══╝╚══██╔══╝████╗ ██║██╔════╝╚══██╔══╝ ██╔════╝██╔════╝██╔══██╗██║ ██║██╔════╝██╔══██╗
|
||||||
| | |\/| | | | | | | | | '_ \ / _ \ __| \___ \ / _ \ '__\ \ / / _ \ '__| |
|
██╔████╔██║██║ ██║ ██║ ██║ ██╔██╗ ██║█████╗ ██║ ███████╗█████╗ ██████╔╝██║ ██║█████╗ ██████╔╝
|
||||||
| | | | | |__| | | | | | | | | __/ |_ ____) | __/ | \ V / __/ | |
|
██║╚██╔╝██║██║▄▄ ██║ ██║ ██║ ██║╚██╗██║██╔══╝ ██║ ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██╔══╝ ██╔══██╗
|
||||||
| |_| |_|\___\_\ |_| |_|_| |_|\___|\__| |_____/ \___|_| \_/ \___|_| |
|
██║ ╚═╝ ██║╚██████╔╝ ██║ ██║ ██║ ╚████║███████╗ ██║ ███████║███████╗██║ ██║ ╚████╔╝ ███████╗██║ ██║
|
||||||
| |
|
╚═╝ ╚═╝ ╚══▀▀═╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝
|
||||||
| |";
|
|
||||||
|
";
|
||||||
|
|
||||||
Console.WriteLine(LogoText);
|
Console.WriteLine(LogoText);
|
||||||
Console.ResetColor();
|
Console.ResetColor();
|
||||||
Console.WriteLine();
|
Console.WriteLine();
|
||||||
Console.ForegroundColor = ConsoleColor.White;
|
Console.ForegroundColor = ConsoleColor.White;
|
||||||
Console.WriteLine(@"
|
Console.WriteLine("The official MQTT server implementation of MQTTnet");
|
||||||
-- The official MQTT server implementation of MQTTnet --
|
Console.WriteLine("Copyright (c) 2017-2019 The MQTTnet Team");
|
||||||
Copyright (c) 2017-2019 The MQTTnet Team");
|
|
||||||
|
|
||||||
Console.ForegroundColor = ConsoleColor.Blue;
|
Console.ForegroundColor = ConsoleColor.Blue;
|
||||||
Console.WriteLine(@"
|
Console.WriteLine(@"https://github.com/chkr1011/MQTTnet");
|
||||||
https://github.com/chkr1011/MQTTnet");
|
|
||||||
|
|
||||||
Console.ForegroundColor = ConsoleColor.White;
|
Console.ForegroundColor = ConsoleColor.White;
|
||||||
Console.WriteLine($@"
|
Console.WriteLine($@"
|
||||||
Version: {Assembly.GetExecutingAssembly().GetName().Version}
|
Version: {Assembly.GetExecutingAssembly().GetName().Version}
|
||||||
License: MIT (read LICENSE file)
|
License: MIT (read LICENSE file)
|
||||||
Sponsoring: https://opencollective.com/mqttnet
|
Sponsoring: https://opencollective.com/mqttnet
|
||||||
Support: https://github.com/chkr1011/MQTTnet/issues
|
Support: https://github.com/chkr1011/MQTTnet/issues
|
||||||
Docs: https://github.com/chkr1011/MQTTnet/wiki/MQTTnetServer
|
Docs: https://github.com/chkr1011/MQTTnet/wiki/MQTTnetServer
|
||||||
");
|
");
|
||||||
|
|
||||||
Console.BackgroundColor = ConsoleColor.White;
|
|
||||||
Console.ForegroundColor = ConsoleColor.Red;
|
Console.ForegroundColor = ConsoleColor.Red;
|
||||||
Console.WriteLine(" ! THIS IS AN ALPHA VERSION! IT IS NOT RECOMMENDED TO USE IT FOR ANY DIFFERENT PURPOSE THAN TESTING OR EVALUATING!");
|
Console.WriteLine(" ! THIS IS AN ALPHA VERSION! IT IS NOT RECOMMENDED TO USE IT FOR ANY DIFFERENT PURPOSE THAN TESTING OR EVALUATING!");
|
||||||
Console.WriteLine();
|
|
||||||
Console.ResetColor();
|
Console.ResetColor();
|
||||||
|
Console.WriteLine();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user