fix(pyinstaller): use onefile

This commit is contained in:
arkohut 2024-10-04 14:22:27 +08:00
parent 8c557bbd60
commit 2e82ad89ce

View File

@ -38,7 +38,7 @@ def build_executable():
f"{magika_path}:magika", f"{magika_path}:magika",
f"--add-data", f"--add-data",
f"{modelscope_path}:modelscope", f"{modelscope_path}:modelscope",
"--onedir", "--onefile",
"--noupx", "--noupx",
"--clean", "--clean",
"--strip", "--strip",