宽带版:添加版本信息V1.0.0(窗口标题与exe属性)
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user