mirror of
https://github.com/YaoFANGUK/video-subtitle-remover.git
synced 2026-02-04 04:34:41 +08:00
主界面显示版本号, 方便定位问题
This commit is contained in:
@@ -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日志的打印
|
||||
|
||||
2
gui.py
2
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:
|
||||
# 循环读取事件
|
||||
|
||||
Reference in New Issue
Block a user