From b2375c95b19cab2fec6b46a8d464a94278de73f4 Mon Sep 17 00:00:00 2001 From: Christian Emmer <10749361+emmercm@users.noreply.github.com> Date: Tue, 1 Aug 2023 23:25:52 -0400 Subject: [PATCH] Docs: put the homepage URL in the CLI header (#544) --- src/console/logger.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/console/logger.ts b/src/console/logger.ts index cf1defd6d..f0cd7dd87 100644 --- a/src/console/logger.ts +++ b/src/console/logger.ts @@ -108,7 +108,8 @@ export default class Logger { const logoSplit = logo.split('\n'); const midLine = Math.min(Math.ceil(logoSplit.length / 2), logoSplit.length - 1); const maxLineLen = logoSplit.reduce((max, line) => Math.max(max, line.length), 0); - logoSplit[midLine - 1] = `${logoSplit[midLine - 1].padEnd(maxLineLen, ' ')} ROM collection manager`; + logoSplit[midLine - 2] = `${logoSplit[midLine - 1].padEnd(maxLineLen, ' ')} ROM collection manager`; + logoSplit[midLine - 1] = `${logoSplit[midLine - 1].padEnd(maxLineLen, ' ')} ${Constants.HOMEPAGE}`; logoSplit[midLine + 1] = `${logoSplit[midLine + 1].padEnd(maxLineLen, ' ')} v${Constants.COMMAND_VERSION}`; this.print(LogLevel.ALWAYS, `${logoSplit.join('\n')}\n\n`);