put Welcome Message echo first

This commit is contained in:
A.C.Sukazyo Eyre 2023-04-08 15:01:12 +08:00
parent e153d9e47f
commit 518bde9404
Signed by: Eyre_S
GPG Key ID: C17CE40291207874
2 changed files with 9 additions and 8 deletions

View File

@ -5,7 +5,7 @@ MORNY_ARCHIVE_NAME = morny-coeur
MORNY_CODE_STORE = https://github.com/Eyre-S/Coeur-Morny-Cono
MORNY_COMMIT_PATH = https://github.com/Eyre-S/Coeur-Morny-Cono/commit/%s
VERSION = 1.0.0-RC3.6
VERSION = 1.0.0-RC3.7
USE_DELTA = false
VERSION_DELTA =

View File

@ -200,6 +200,14 @@ public class ServerMain {
}
//#
//# 启动信息输出
//# 启动相关参数的检查和处理
//#
if (showWelcome) logger.info(MornyHello.MORNY_PREVIEW_IMAGE_ASCII);
if (welcomeEchoMode) return;
unknownArgs.forEach(arg -> logger.warn("Can't understand arg to some meaning :\n " + arg));
if (Log.debug())
@ -216,10 +224,6 @@ public class ServerMain {
}
}
//#
//# 启动相关参数的检查和处理
//#
if (versionEchoMode) {
logger.info(String.format("""
@ -250,9 +254,6 @@ public class ServerMain {
}
if (showWelcome) logger.info(MornyHello.MORNY_PREVIEW_IMAGE_ASCII);
if (welcomeEchoMode) return;
logger.info(String.format("""
ServerMain.java Loaded >>>
- version %s