Skip to content

Commit 961df90

Browse files
committed
feat(app): add "next" by figlet [skip CI]
1 parent fb6fca1 commit 961df90

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/global/index.global.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,19 @@ import "./dayjs.global";
99
import { isDev } from "./env.global";
1010
import { join } from "path";
1111

12+
function consoleNEXT() {
13+
console.log(`
14+
15+
_ _________ ________
16+
/ | / / ____/ |/ /_ __/
17+
/ |/ / __/ | / / /
18+
/ /| / /___ / | / /
19+
/_/ |_/_____//_/|_|/_/
20+
21+
22+
`);
23+
}
24+
1225
// 建立目录
1326
function mkdirs() {
1427
mkdirSync(DATA_DIR, { recursive: true });
@@ -42,6 +55,7 @@ function registerGlobal() {
4255
}
4356

4457
export function register() {
58+
consoleNEXT();
4559
mkdirs();
4660
registerStdLogger();
4761

0 commit comments

Comments
 (0)