refactor: build as onedir
This commit is contained in:
parent
a29a4e423b
commit
9ef561ddca
2
build.py
2
build.py
@ -12,7 +12,7 @@ icon_file = "calculator.ico" if current_os == "win32" else "calculator.icns"
|
|||||||
args = [
|
args = [
|
||||||
"calculator.py",
|
"calculator.py",
|
||||||
"--name=现代计算器",
|
"--name=现代计算器",
|
||||||
"--onefile",
|
"--onedir",
|
||||||
"--noconsole",
|
"--noconsole",
|
||||||
"--clean",
|
"--clean",
|
||||||
f"--icon={icon_file}" if os.path.exists(icon_file) else None,
|
f"--icon={icon_file}" if os.path.exists(icon_file) else None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user