feat: 后端添加关闭接口
This commit is contained in:
@@ -111,8 +111,6 @@ class _MainTimer:
|
||||
async def set_silence(self):
|
||||
"""静默模式通过模拟老板键来隐藏模拟器窗口"""
|
||||
|
||||
logger.debug("检查静默模式")
|
||||
|
||||
if (
|
||||
len(Config.if_ignore_silence) > 0
|
||||
and Config.get("Function", "IfSilence")
|
||||
@@ -145,7 +143,5 @@ class _MainTimer:
|
||||
except Exception as e:
|
||||
logger.exception(f"模拟按键时出错: {e}")
|
||||
|
||||
logger.debug("静默模式检查完毕")
|
||||
|
||||
|
||||
MainTimer = _MainTimer()
|
||||
|
||||
Reference in New Issue
Block a user