From 0153bfa13c24399d34650a0d22aef6cb0f88f94e Mon Sep 17 00:00:00 2001 From: dangershony Date: Fri, 17 Apr 2020 22:47:47 +0100 Subject: [PATCH] Change daemon logo to blockcore --- src/Blockcore/FullNode.cs | 2 +- .../Properties/Resources.Designer.cs | 27 ++++--- src/Blockcore/Properties/Resources.resx | 74 ++++++------------- 3 files changed, 40 insertions(+), 63 deletions(-) diff --git a/src/Blockcore/FullNode.cs b/src/Blockcore/FullNode.cs index 33dbe0177..9acebc98f 100644 --- a/src/Blockcore/FullNode.cs +++ b/src/Blockcore/FullNode.cs @@ -178,7 +178,7 @@ public IFullNode Initialize(IFullNodeServiceProvider serviceProvider) this.AsyncProvider = this.Services.ServiceProvider.GetService(); - this.logger.LogInformation(Properties.Resources.AsciiLogo); + this.logger.LogInformation(Properties.Resources.Logo.Replace("{title}", this.Network.Name + " - Full Consensus Validating Node")); this.logger.LogInformation("Full node initialized on {0}.", this.Network.Name); this.State = FullNodeState.Initialized; diff --git a/src/Blockcore/Properties/Resources.Designer.cs b/src/Blockcore/Properties/Resources.Designer.cs index 1ecba20c5..0048ee2c6 100644 --- a/src/Blockcore/Properties/Resources.Designer.cs +++ b/src/Blockcore/Properties/Resources.Designer.cs @@ -16,7 +16,7 @@ namespace Blockcore.Properties { // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { @@ -59,18 +59,23 @@ internal Resources() { /// /// Looks up a localized string similar to - /// - /// .d8888b. 88888888888 8888888b. d8888 88888888888 8888888 .d8888b. - /// d88P Y88b 888 888 Y88b d88888 888 888 d88P Y88b - /// Y88b. 888 888 888 d88P888 888 888 Y88b. - /// "Y888b. 888 888 d88P d88P 888 888 888 "Y888b. - /// "Y88b. 888 8888888P" d88P 888 888 888 "Y88b. - /// "888 888 888 T88b d88P 888 888 888 "888 - /// Y88b d88P [rest of string was truncated]";. + /// -- + /// ./yNMs + /// -MMMMMs + /// -MMMMMs + /// -MMMMMs + /// -MMMMMs `` + /// -MMMMMs /my/.` + /// -MMMMMs /MMMNds:. + /// -MMMMMs /MMMMMMMmh+- + /// -MMMMMs `:sdNMMMMMMM. _ _ _ _ _ _ _ + /// -MMMMMs `-/mMMMMM. |_) | / \ / |/ / / \ |_) |_ + /// -MMMMMs yMMMMM. |_) |_ \_/ \_ |\ \_ \_/ | \ |_ + /// -MMMMMs yMMMMM. ww [rest of string was truncated]";. /// - internal static string AsciiLogo { + internal static string Logo { get { - return ResourceManager.GetString("AsciiLogo", resourceCulture); + return ResourceManager.GetString("Logo", resourceCulture); } } } diff --git a/src/Blockcore/Properties/Resources.resx b/src/Blockcore/Properties/Resources.resx index 82c61d0b9..349b6f6c0 100644 --- a/src/Blockcore/Properties/Resources.resx +++ b/src/Blockcore/Properties/Resources.resx @@ -1,4 +1,4 @@ - +