diff --git a/nuitka_build.py b/nuitka_build.py index 2d7e3f3..12d78d5 100644 --- a/nuitka_build.py +++ b/nuitka_build.py @@ -19,7 +19,7 @@ if __name__ == '__main__': compiler = nuitka.CompilerHelper() # 修改 python 执行文件 为 运行时的 python - compiler.python_cmd = sys.executable + compiler.python_cmd = sys.argv[0] # 检测 --github 参数 is_github = False