From 5a1f5f3b64b652b74fc7b041eb943bf2522707b0 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Fri, 30 Dec 2022 11:21:43 +0800 Subject: [PATCH] use 2 env? --- .github/workflows/get_info.py | 1 + Difficult_Rocket/__init__.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/get_info.py b/.github/workflows/get_info.py index 57b44be..39f6a61 100644 --- a/.github/workflows/get_info.py +++ b/.github/workflows/get_info.py @@ -17,5 +17,6 @@ if os.path.abspath(os.curdir) in sys.path: from Difficult_Rocket import DR_runtime print(f'DR_version={DR_runtime.DR_version}') + print(f'DR_language={DR_runtime.language}') # 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 ef82bf5..8b0e8e5 100644 --- a/Difficult_Rocket/__init__.py +++ b/Difficult_Rocket/__init__.py @@ -58,7 +58,7 @@ class _DR_runtime(Options): name = 'DR Runtime' # game statue DR_version: Version = game_version - DR_long_version: int = long_version + DR_long_version: ctypes.c_longlong = long_version # run status running: bool = False