diff --git a/.github/workflows/get_info.py b/.github/workflows/get_info.py index a987a49..c3ba5e2 100644 --- a/.github/workflows/get_info.py +++ b/.github/workflows/get_info.py @@ -28,7 +28,6 @@ elif os.path.abspath(os.curdir) in sys.path and '-env' in sys.argv: with open('./.github/workflows/env.ps1', encoding='utf-8', mode='w') as env_file: print(f'$env:DR_version = "{DR_status.DR_version}"', file=env_file) print(f'$env:Build_version = "{DR_status.Build_version}"', file=env_file) - elif os.path.abspath(os.curdir) in sys.path and '-github' in sys.argv: print(f'DR_version={DR_status.DR_version}') print(f'Build_version={DR_status.Build_version}') diff --git a/libs/utils/nuitka.py b/libs/utils/nuitka.py index b3da94b..d1cfa81 100644 --- a/libs/utils/nuitka.py +++ b/libs/utils/nuitka.py @@ -119,7 +119,8 @@ class CompilerHelper(Options): return f"{front}\n\n```bash\n{' '.join(gen_cmd)}\n```" def gen_subprocess_cmd(self) -> List[str]: - """生成 nuitka 构建脚本 + """ + 生成 nuitka 构建脚本 Generate nuitka build script Returns: