Skip to content

Commit

Permalink
Feat: wait before auto close
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmusen214 committed Jan 11, 2024
1 parent 925cad1 commit 2d4b5b1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)



0 comments on commit 2d4b5b1

Please sign in to comment.