From 2e82ad89ce8cabee6a38e7e9497db0c21add1380 Mon Sep 17 00:00:00 2001 From: arkohut <39525455+arkohut@users.noreply.github.com> Date: Fri, 4 Oct 2024 14:22:27 +0800 Subject: [PATCH] fix(pyinstaller): use onefile --- build_executable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_executable.py b/build_executable.py index 0711056..4776833 100644 --- a/build_executable.py +++ b/build_executable.py @@ -38,7 +38,7 @@ def build_executable(): f"{magika_path}:magika", f"--add-data", f"{modelscope_path}:modelscope", - "--onedir", + "--onefile", "--noupx", "--clean", "--strip",