feat: 添加Makefile用于PyInstaller打包

提供便捷的打包命令:make build/rebuild/clean/help
使用uv run确保在虚拟环境中执行pyinstaller命令
This commit is contained in:
dmy
2026-01-05 10:14:40 +08:00
parent a5b46529da
commit f28e087cd2
2 changed files with 38 additions and 4 deletions

14
gui.py
View File

@@ -584,10 +584,16 @@ def index():
)
processing_dialog.props("persistent")
with ui.header().classes("bg-primary text-white p-4 shadow-lg"):
ui.label("海上风电场集电线路设计优化系统 v1.0").classes("text-2xl font-bold")
ui.label("Wind Farm Collector System Design Optimizer").classes(
"text-sm opacity-80"
with ui.header().classes("bg-primary text-white p-4 shadow-lg items-center no-wrap"):
with ui.column().classes("gap-0"):
ui.label("海上风电场集电线路设计优化系统 v1.0").classes("text-2xl font-bold")
with ui.column().classes("gap-0"):
ui.label("Wind Farm Collector System Design Optimizer").classes(
"text-sm opacity-80"
)
ui.space()
ui.label("中能建西北院海上能源业务开发部").classes(
"text-xl font-bold"
)
with ui.row().classes("w-full p-4 gap-4"):