List game & server version when starting server (#1181)

* When the server starts, it now outputs the game and server version. Too dumb to not hardcode it - sorry!

* ...

* sorry i dropped my spaghetti, I'll help clean that

* Doing simple stuff: now without hardcoding!

* Restored Git hash functionality

* Fixed other languages and made the output more useful.

* Forgot this file lol
This commit is contained in:
AZ
2022-06-04 09:41:18 +00:00
committed by GitHub
parent 910a5749f0
commit fa2ab59887
6 changed files with 11 additions and 4 deletions

View File

@@ -52,7 +52,8 @@
"run_mode_help": "服务器运行模式必须为 'HYBRID'(混合)、'DISPATCH_ONLY'(仅 Dispatch) 或 'GAME_ONLY'(仅游戏)。Grasscutter 启动失败...",
"create_resources": "正在创建 resources 目录...",
"resources_error": "请将 BinOutput 和 ExcelBinOutput 复制到 resources 目录。",
"version": "Grasscutter 版本:%s-%s"
"version": "Grasscutter 版本:%s-%s",
"game_version": "游戏版本: %s"
}
},
"commands": {