From ffd2c67c67b888a2a674ddb4e93c9eeef6608f13 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Mon, 2 Jan 2023 17:22:39 +0800 Subject: [PATCH] feat: update CL --- .github/workflows/get_info.py | 2 ++ Difficult_Rocket/__init__.py | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/get_info.py b/.github/workflows/get_info.py index 584c0fb..9eb6c67 100644 --- a/.github/workflows/get_info.py +++ b/.github/workflows/get_info.py @@ -13,6 +13,7 @@ if '-env' not in sys.argv: print(sys.version) print(os.getenv('env:GITHUB_SHA')) from Difficult_Rocket.utils import tools + # 重置窗口信息 config_file = tools.load_file('./configs/main.toml') config_file['window']['width'] = 1024 config_file['window']['height'] = 768 @@ -23,5 +24,6 @@ if os.path.abspath(os.curdir) in sys.path: print(f'DR_version={DR_runtime.DR_version}') print(f'DR_language={DR_runtime.language}') + print(f'DR_long_version={DR_runtime.DR_long_version}') # os.system(f'echo "DR_version={DR_runtime.DR_version}" >> $GITHUB_OUTPUT') diff --git a/Difficult_Rocket/__init__.py b/Difficult_Rocket/__init__.py index 37a9aa9..5c782f7 100644 --- a/Difficult_Rocket/__init__.py +++ b/Difficult_Rocket/__init__.py @@ -20,12 +20,13 @@ from libs.MCDR.version import Version game_version = Version("0.6.4") __version__ = game_version -long_version: ctypes.c_longlong = ctypes.c_longlong(3) +long_version: ctypes.c_longlong = ctypes.c_longlong(4) """ long_version: 一个用于标记内部协议的整数 -1: 我可算想起来还有这回事了 v0.6.4 -2: 哦,对 longlong 好耶! +4: 把 translate 的字体常量位置改了一下,顺便调换顺序 3: 就是试试改一下,正好 compiler 要用 +2: 哦,对 longlong 好耶! +1: 我可算想起来还有这回事了 v0.6.4 """