From 071d4e3aa48fa22e674acee9ac807daad3c5e736 Mon Sep 17 00:00:00 2001 From: binekrasik Date: Fri, 22 May 2026 23:55:26 +0200 Subject: [PATCH] chore: addition to the previous commit --- src/program/Info.ts | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/src/program/Info.ts b/src/program/Info.ts index 285eabb..173c90e 100644 --- a/src/program/Info.ts +++ b/src/program/Info.ts @@ -6,19 +6,24 @@ import { Program } from './Program' export class Info extends Program { async Exec(_: SimpleStream, stdout: SimpleStream, __: Item, ___: string[]): Promise { - stdout.emit(`binekrasik's Webshell\n`) - stdout.emit(`Copyright (C) 2026 binekrasik.\n\n`) - stdout.emit(`Webshell and its components are licensed under the Apache 2.0 license.\n`) - stdout.emit(`Source available at https://git.martinpetr.dev/binekrasik/webshell.\n\n`) + stdout.emit('\n') + stdout.emit(" --> binekrasik's Webshell / ->\n\n") + + stdout.emit(" Webshell and its components are licensed under the Apache 2.0 license unless stated otherwise.\n") + stdout.emit(" Source available at https://git.martinpetr.dev/binekrasik/webshell.\n\n\n") + + stdout.emit(" --> Versions / ->\n\n") + stdout.emit(` Webshell ${WEBSHELL_VERSION}\n`) + stdout.emit(` Terminal ${Terminal.Version}\n`) + stdout.emit(` Shell '${GetCurrentTerminal().GetShell()?.Name}' version ${GetCurrentTerminal().GetShell()?.Version}\n\n\n`) // print a comment for the current release (if any) - if (INFO_COMMENT) - stdout.emit(`${INFO_COMMENT}\n\n`) + if (INFO_COMMENT) { + stdout.emit(" --> Version comment / ->\n\n") + stdout.emit(` ${INFO_COMMENT}\n\n\n`) + } - stdout.emit(`-> Versions\n`) - stdout.emit(` | Webshell ${WEBSHELL_VERSION}\n`) - stdout.emit(` | Terminal ${Terminal.Version}\n`) - stdout.emit(` | Shell '${GetCurrentTerminal().GetShell()?.Name}' version ${GetCurrentTerminal().GetShell()?.Version}\n\n`) + stdout.emit(" - Copyright (C) 2026 binekrasik -\n\n") return 0 }