From 2d4b5b15518ce89df2db62d5c70fff14ae06a58c Mon Sep 17 00:00:00 2001 From: Yusen Wu Date: Thu, 11 Jan 2024 16:21:37 +0000 Subject: [PATCH] Feat: wait before auto close --- main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 278391f1..d0c557b4 100644 --- a/main.py +++ b/main.py @@ -81,9 +81,13 @@ def print_BAAH_finish(): except Exception as e: logging.error("删除截图文件失败") + print_BAAH_finish() # 结束运行,如果用户没有勾选关闭模拟器,等待用户按回车键 if not config.userconfigdict["CLOSE_EMULATOR_BAAH"]: - print_BAAH_finish() input() + else: + print("10秒后自动关闭") + sleep(10) +