feat: update CL

This commit is contained in:
shenjack 2023-01-02 17:22:39 +08:00
parent 235c010d41
commit ffd2c67c67
2 changed files with 6 additions and 3 deletions

View File

@ -13,6 +13,7 @@ if '-env' not in sys.argv:
print(sys.version) print(sys.version)
print(os.getenv('env:GITHUB_SHA')) print(os.getenv('env:GITHUB_SHA'))
from Difficult_Rocket.utils import tools from Difficult_Rocket.utils import tools
# 重置窗口信息
config_file = tools.load_file('./configs/main.toml') config_file = tools.load_file('./configs/main.toml')
config_file['window']['width'] = 1024 config_file['window']['width'] = 1024
config_file['window']['height'] = 768 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_version={DR_runtime.DR_version}')
print(f'DR_language={DR_runtime.language}') 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') # os.system(f'echo "DR_version={DR_runtime.DR_version}" >> $GITHUB_OUTPUT')

View File

@ -20,12 +20,13 @@ from libs.MCDR.version import Version
game_version = Version("0.6.4") game_version = Version("0.6.4")
__version__ = game_version __version__ = game_version
long_version: ctypes.c_longlong = ctypes.c_longlong(3) long_version: ctypes.c_longlong = ctypes.c_longlong(4)
""" """
long_version: 一个用于标记内部协议的整数 long_version: 一个用于标记内部协议的整数
1: 我可算想起来还有这回事了 v0.6.4 4: translate 的字体常量位置改了一下,顺便调换顺序
2: longlong 好耶
3: 就是试试改一下正好 compiler 要用 3: 就是试试改一下正好 compiler 要用
2: longlong 好耶
1: 我可算想起来还有这回事了 v0.6.4
""" """