feat: 支持使用命令行调用

This commit is contained in:
DLmaster361
2025-06-09 23:43:36 +08:00
parent 0e8b6b0b6b
commit 1aa4da1adf
11 changed files with 241 additions and 237 deletions

View File

@@ -162,7 +162,7 @@ class ProgressRingMessageBox(MessageBoxBase):
super().__init__(parent)
self.title = SubtitleLabel(title)
self.time = 100
self.time = 100 if Config.args.mode == "gui" else 1
Widget = QWidget()
Layout = QHBoxLayout(Widget)
self.ring = ProgressRing()