From 4041746240dc656e1fc962f254ef472107b7f276 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 12 Sep 2025 09:34:00 +0300 Subject: [PATCH] chore(server): add a logo at startup --- apps/server/src/www.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/server/src/www.ts b/apps/server/src/www.ts index 58289fd1b..c761af335 100644 --- a/apps/server/src/www.ts +++ b/apps/server/src/www.ts @@ -14,6 +14,14 @@ import type { Express } from "express"; const MINIMUM_NODE_VERSION = "20.0.0"; +const LOGO = `\ + _____ _ _ _ +|_ _| __(_) (_)_ _ _ __ ___ | \\ | | ___ | |_ ___ ___ + | || '__| | | | | | | '_ \` _ \\ | \\| |/ _ \\| __/ _ \\/ __| + | || | | | | | |_| | | | | | | | |\\ | (_) | || __/\\__ \\ + |_||_| |_|_|_|\\__,_|_| |_| |_| |_| \\_|\\___/ \\__\\___||___/ +`; + export default async function startTriliumServer() { // setup basic error handling even before requiring dependencies, since those can produce errors as well process.on("unhandledRejection", (error: Error) => { @@ -62,6 +70,7 @@ export default async function startTriliumServer() { (await import("electron")).app.requestSingleInstanceLock(); } + log.info(LOGO); log.info(JSON.stringify(appInfo, null, 2)); // for perf. issues it's good to know the rough configuration