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",