diff --git a/packages/backend/src/boot/index.ts b/packages/backend/src/boot/index.ts index c78d88838..b6bd42233 100644 --- a/packages/backend/src/boot/index.ts +++ b/packages/backend/src/boot/index.ts @@ -19,7 +19,7 @@ const ev = new Xev(); * Init process */ export default async function () { - process.title = `Firefish (${cluster.isPrimary ? "master" : "worker"})`; + process.title = `Iceshrimp (${cluster.isPrimary ? "master" : "worker"})`; if (cluster.isPrimary || envOption.disableClustering) { await masterMain(); @@ -42,7 +42,7 @@ export default async function () { os.setPriority(10); } - // For when Firefish is started in a child process during unit testing. + // For when Iceshrimp is started in a child process during unit testing. // Otherwise, process.send cannot be used, so start it. if (process.send) { process.send("ok"); diff --git a/packages/backend/src/boot/master.ts b/packages/backend/src/boot/master.ts index f670c6b11..2535b8c91 100644 --- a/packages/backend/src/boot/master.ts +++ b/packages/backend/src/boot/master.ts @@ -29,38 +29,12 @@ const themeColor = chalk.hex("#31748f"); function greet() { if (!envOption.quiet) { - //#region Firefish logo - const v = `v${meta.version}`; - console.log(themeColor(" ▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄ ◯ ")); - console.log(themeColor("█ █ █ ▄ █ █ █ █ █ █ █ █ █ ○ ▄ ▄")); - console.log(themeColor("█ ▄▄▄█ █ █ █ █ █ ▄▄▄█ ▄▄▄█ █ ▄▄▄▄▄█ █▄█ █ ⚬ █▄▄ █▄▄ ")); - console.log(themeColor("█ █▄▄▄█ █ █▄▄█▄█ █▄▄▄█ █▄▄▄█ █ █▄▄▄▄▄█ █ ▄▄▄▄▄▄ ▄")); - console.log(themeColor("█ ▄▄▄█ █ ▄▄ █ ▄▄▄█ ▄▄▄█ █▄▄▄▄▄ █ ▄ █ █ █ █▄▄")); - console.log(themeColor("█ █ █ █ █ █ █ █▄▄▄█ █ █ █▄▄▄▄▄█ █ █ █ █ █ ● ● █")); - console.log(themeColor("█▄▄▄█ █▄▄▄█▄▄▄█ █▄█▄▄▄▄▄▄▄█▄▄▄█ █▄▄▄█▄▄▄▄▄▄▄█▄▄█ █▄▄█ ▀▄▄▄▄▄▄▀")); - //#endregion - - console.log( - " Firefish is an open-source decentralized microblogging platform.", - ); - console.log( - chalk.rgb( - 255, - 136, - 0, - )( - " If you like Firefish, please consider starring or contributing to the repo. https://codeberg.org/firefish/firefish", - ), - ); - - console.log(""); console.log( chalkTemplate`--- ${os.hostname()} {gray (PID: ${process.pid.toString()})} ---`, ); } - bootLogger.info("Welcome to Firefish!"); - bootLogger.info(`Firefish v${meta.version}`, null, true); + bootLogger.info(`Iceshrimp v${meta.version}, initializing...`, null, true); } /** @@ -82,7 +56,7 @@ export async function masterMain() { process.exit(1); } - bootLogger.succ("Firefish initialized"); + bootLogger.succ("Iceshrimp initialized"); if (!envOption.disableClustering) { await spawnWorkers(config.clusterLimit);