refactor: build as onedir

This commit is contained in:
TaurusXin 2025-01-08 22:18:54 +08:00
parent a29a4e423b
commit 9ef561ddca
Signed by: taurusxin
GPG Key ID: C334DCA04AC2D2CC

View File

@ -12,7 +12,7 @@ icon_file = "calculator.ico" if current_os == "win32" else "calculator.icns"
args = [
"calculator.py",
"--name=现代计算器",
"--onefile",
"--onedir",
"--noconsole",
"--clean",
f"--icon={icon_file}" if os.path.exists(icon_file) else None,