diff --git a/libs/utils/nuitka.py b/libs/utils/nuitka.py index 777f198..87c71fc 100644 --- a/libs/utils/nuitka.py +++ b/libs/utils/nuitka.py @@ -13,8 +13,8 @@ from typing import List, Tuple from Difficult_Rocket.api.types import Options, Version -class Status(Options): - name = 'Nuitka Build Status' +class CompilerHelper(Options): + name = 'Nuitka Compiler Helper' output_path: Path = Path("./build/nuitka-win") src_file: Path = Path('DR.py') diff --git a/nuitka_build.py b/nuitka_build.py index 3ded22f..7cdba71 100644 --- a/nuitka_build.py +++ b/nuitka_build.py @@ -10,7 +10,7 @@ import subprocess from libs.utils import nuitka if __name__ == '__main__': - compiler = nuitka.Status() + compiler = nuitka.CompilerHelper() # 修改 python 执行文件 为 运行时的 python compiler.python_cmd = sys.executable