From 460b114fc976105c42aa2e7ea883420092a103e2 Mon Sep 17 00:00:00 2001 From: Qiao <572381217@qq.com> Date: Sun, 29 Sep 2024 22:19:41 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=E9=94=99=E8=AF=AF=E7=9A=84?= =?UTF-8?q?=E5=91=BD=E5=90=8D=E5=AF=BC=E8=87=B4=E6=97=A0=E6=B3=95=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE=E8=BF=9B=E8=A1=8C=E5=8D=95=E4=BE=8B=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 6d52cad..1ecbcf4 100644 --- a/main.py +++ b/main.py @@ -33,7 +33,7 @@ # 检查是否已经有 NCD 在运行了, 如果有则取消运行 for proc in psutil.process_iter(): logger.debug(f"检测进程名称: {proc.name()}") - if proc.name() == "NapCatQQ-Desktop.exe": + if proc.name() == "NapCat-Desktop.exe": logger.warning("检测到已有 NapCatQQ-Desktop 进程运行, 请先关闭后再运行") sys.exit()