1 files changed, 11 insertions, 11 deletions
diff --git a/src/start.ts b/src/start.ts
index cf1a42a5..9d01ce9c 100644
--- a/src/start.ts
+++ b/src/start.ts
@@ -7,6 +7,8 @@ import { bold, cyan, red, yellow } from "picocolors";
import "reflect-metadata";
import { initStats } from "./stats";
config();
+import { execSync } from "child_process";
+import { Logo } from "util/util/Logo";
// TODO: add socket event transmission
let cores = 1;
@@ -25,17 +27,15 @@ if (cluster.isMaster) {
}
}
const commit = getCommitOrFail();
-
- console.log(
- bold(`
-███████╗ ██████╗ ███████╗███████╗ ██████╗ ██████╗ ██████╗ ██████╗
-██╔════╝██╔═══██╗██╔════╝██╔════╝██╔════╝██╔═══██╗██╔══██╗██╔══██╗
-█████╗ ██║ ██║███████╗███████╗██║ ██║ ██║██████╔╝██║ ██║
-██╔══╝ ██║ ██║╚════██║╚════██║██║ ██║ ██║██╔══██╗██║ ██║
-██║ ╚██████╔╝███████║███████║╚██████╗╚██████╔╝██║ ██║██████╔╝
-╚═╝ ╚═════╝ ╚══════╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝
-
- fosscord-server | ${yellow(`Pre-release (${commit !== null ? commit.slice(0, 7) : "Unknown (Git cannot be found)"})`)}
+Logo.printLogo();
+console.log(bold(`
+ fosscord-server | ${yellow(
+ `Pre-release (${
+ commit !== null
+ ? commit.slice(0, 7)
+ : "Unknown (Git cannot be found)"
+ })`
+ )}
Commit Hash: ${commit !== null ? `${cyan(commit)} (${yellow(commit.slice(0, 7))})` : "Unknown (Git cannot be found)"}
Cores: ${cyan(os.cpus().length)} (Using ${cores} thread(s).)
|