]> 小龙服务器 Git - 微信监控/commitdiff
保留一条'微信已登录'日志(状态切入时写一次)
author小龙 <xl@szjxzxh.cn>
Mon, 27 Jul 2026 08:20:05 +0000 (16:20 +0800)
committer小龙 <xl@szjxzxh.cn>
Mon, 27 Jul 2026 08:20:05 +0000 (16:20 +0800)
wechat_auto_login.py

index 338c804c37455715fe41a4ee3ab7016ee4b0b3db..d44004450b8580ea24892f4f4b60bb042478da73 100644 (file)
@@ -638,7 +638,7 @@ try:
 
             if not login_window:
                 self._set_status("微信运行中")
-                # 稳态信息,不写日志
+                self._log_state("info", "微信已登录")
                 return
 
             # ④ 最小化其他窗口