From d538b2ed60b28a7f4f30de281e1f281809364959 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Tue, 19 Sep 2023 23:58:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B0=B4=E4=B8=80=E4=B8=AA=EF=BC=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/utils/nuitka.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/utils/nuitka.py b/libs/utils/nuitka.py index f7f5055..999dc7c 100644 --- a/libs/utils/nuitka.py +++ b/libs/utils/nuitka.py @@ -73,6 +73,7 @@ class CompilerHelper(Options): use_clang: bool = True # --clang use_msvc: bool = True # --msvc=latest use_mingw: bool = False # --mingw64 + onefile: bool = False # --onefile standalone: bool = True # --standalone use_ccache: bool = True # not --disable-ccache enable_console: bool = True # --enable-console / --disable-console @@ -180,6 +181,7 @@ class CompilerHelper(Options): cmd_list += format_cmd('--msvc=latest' if self.use_msvc else None) cmd_list += format_cmd('--mingw64' if self.use_mingw else None) cmd_list += format_cmd('--standalone' if self.standalone else None) + cmd_list += format_cmd('--onefile' if self.onefile else None) cmd_list += format_cmd('--disable-ccache' if not self.use_ccache else None) cmd_list += format_cmd('--show-progress' if self.show_progress else None)