From 6a8909d01738f5e292598d33023878906fc56a0f Mon Sep 17 00:00:00 2001 From: EillesWan Date: Sat, 12 Aug 2023 15:14:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E8=A1=8C=EF=BC=8C=E6=88=91=E6=A0=B9?= =?UTF-8?q?=E6=9C=AC=E6=B2=A1=E5=8F=91=E5=8A=A8=E8=BF=99=E4=B8=80=E5=9B=A2?= =?UTF-8?q?=E7=83=82=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- llc_cli.py | 2 ++ run_llc_cli_with_WT.bat | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 run_llc_cli_with_WT.bat diff --git a/llc_cli.py b/llc_cli.py index 4b5a0a3..eb7d403 100644 --- a/llc_cli.py +++ b/llc_cli.py @@ -26,6 +26,7 @@ from Musicreater.plugin import ConvertConfig from Musicreater.plugin.bdxfile import to_BDX_file_in_delay, to_BDX_file_in_score from Musicreater.plugin.funcpack import to_function_addon_in_score from Musicreater.plugin.mcstructpack import to_mcstructure_addon_in_delay +# from Musicreater.plugin.mcstructure import commands_to_structure, commands_to_redstone_delay_structure from utils.io import * from languages.lang import languages @@ -72,6 +73,7 @@ def _(__): # 显示大标题 MainConsole.rule(title="[bold #AB70FF]欢迎使用伶伦独立转换器", characters="=", style="#26E2FF") MainConsole.rule(title="[bold #AB70FF]Welcome to Linglun Converter", characters="-") +MainConsole.rule(title="[#AB70FF]版本{} | 音·创内核版本{}".format(__version__,Musicreater.__version__), characters="=", style="#26E2FF") nowYang = datetime.datetime.now() diff --git a/run_llc_cli_with_WT.bat b/run_llc_cli_with_WT.bat new file mode 100644 index 0000000..1e93712 --- /dev/null +++ b/run_llc_cli_with_WT.bat @@ -0,0 +1,2 @@ +chcp 65001 +wt.exe -w LLC_CLI new-tab --title 伶伦转换器命令行 cmd /k "py" ".\llc_cli.py" \ No newline at end of file