update some nuitka build

This commit is contained in:
shenjack 2023-06-10 14:45:51 +08:00
parent 6714e4c24c
commit 3ac6e8a54e
2 changed files with 3 additions and 3 deletions

View File

@ -13,8 +13,8 @@ from typing import List, Tuple
from Difficult_Rocket.api.types import Options, Version from Difficult_Rocket.api.types import Options, Version
class Status(Options): class CompilerHelper(Options):
name = 'Nuitka Build Status' name = 'Nuitka Compiler Helper'
output_path: Path = Path("./build/nuitka-win") output_path: Path = Path("./build/nuitka-win")
src_file: Path = Path('DR.py') src_file: Path = Path('DR.py')

View File

@ -10,7 +10,7 @@ import subprocess
from libs.utils import nuitka from libs.utils import nuitka
if __name__ == '__main__': if __name__ == '__main__':
compiler = nuitka.Status() compiler = nuitka.CompilerHelper()
# 修改 python 执行文件 为 运行时的 python # 修改 python 执行文件 为 运行时的 python
compiler.python_cmd = sys.executable compiler.python_cmd = sys.executable