feat(DLPilot): 标题栏显示版本号(与关于弹窗同源 APP_VERSION)
This commit is contained in:
@@ -67,7 +67,8 @@ def run_gui(auto_close=0):
|
|||||||
class App(ctk.CTk):
|
class App(ctk.CTk):
|
||||||
def __init__(self, auto_close=0):
|
def __init__(self, auto_close=0):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.title('DLPilot — 3D 光固化光机调试台 (EDID · 测试图案 · RS485 光机控制)')
|
self.title(f'DLPilot v{APP_VERSION} — 3D 光固化光机调试台 '
|
||||||
|
f'(EDID · 测试图案 · RS485 光机控制)')
|
||||||
try: # 任务栏独立分组
|
try: # 任务栏独立分组
|
||||||
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID('hulk.DLPilot')
|
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID('hulk.DLPilot')
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|||||||
Reference in New Issue
Block a user