From 7e8d0b818beba4e8f32d1fcc360c54917f684ec3 Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 24 Apr 2025 15:51:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E7=95=8C=E9=9D=A2=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8F=B7,=20=E6=96=B9=E4=BE=BF=E5=AE=9A?= =?UTF-8?q?=E4=BD=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/config.py | 2 ++ gui.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/config.py b/backend/config.py index a6c891e..0977bfe 100644 --- a/backend/config.py +++ b/backend/config.py @@ -9,6 +9,8 @@ import stat from fsplit.filesplit import Filesplit import onnxruntime as ort +# 项目版本号 +VERSION = "1.1.1" # ×××××××××××××××××××× [不要改] start ×××××××××××××××××××× logging.disable(logging.DEBUG) # 关闭DEBUG日志的打印 logging.disable(logging.WARNING) # 关闭WARNING日志的打印 diff --git a/gui.py b/gui.py index fada385..09946db 100644 --- a/gui.py +++ b/gui.py @@ -70,7 +70,7 @@ class SubtitleRemoverGUI: # 创建布局 self._create_layout() # 创建窗口 - self.window = sg.Window(title='Video Subtitle Remover', layout=self.layout, + self.window = sg.Window(title=f'Video Subtitle Remover v{backend.main.config.VERSION}' , layout=self.layout, icon=self.icon) while True: # 循环读取事件