宽带版:添加版本信息V1.0.0(窗口标题与exe属性)

This commit is contained in:
2026-09-07 16:23:29 +08:00
parent 67bd8ebf91
commit 1d0b4b2fd1
2 changed files with 39 additions and 1 deletions
+4 -1
View File
@@ -18,6 +18,9 @@ import shutil
import subprocess
from datetime import datetime
# 软件版本号
APP_VERSION = "V1.0.0"
def resource_path(relative_path):
if hasattr(sys, '_MEIPASS'):
@@ -28,7 +31,7 @@ def resource_path(relative_path):
class LaserTracingConfigApp:
def __init__(self, root):
self.root = root
self.root.title("边坡变形监测-变形(位移)自动测量系统配置工具")
self.root.title(f"边坡变形监测-变形(位移)自动测量系统配置工具(宽带版 {APP_VERSION})")
self.root.resizable(True, True)
icon_path = resource_path("传感器.ico")