From 1b735b570306cf75ad829db01c90d37819fc3549 Mon Sep 17 00:00:00 2001 From: huiyadanli Date: Tue, 17 May 2022 22:41:41 +0800 Subject: [PATCH] =?UTF-8?q?[#]=20=E8=80=81=E7=89=88=E6=9C=AC=E7=9A=84?= =?UTF-8?q?=E7=89=B9=E6=AE=8A=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- RevokeMsgPatcher/Modifier/AppModifier.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/RevokeMsgPatcher/Modifier/AppModifier.cs b/RevokeMsgPatcher/Modifier/AppModifier.cs index fcf9084..f3d467f 100644 --- a/RevokeMsgPatcher/Modifier/AppModifier.cs +++ b/RevokeMsgPatcher/Modifier/AppModifier.cs @@ -153,13 +153,13 @@ namespace RevokeMsgPatcher.Modifier if (info.Name != "WeChat.exe") { count++; - } - if (File.Exists(filePath)) - { - success++; + if (File.Exists(filePath)) + { + success++; + } } } - if (success == count) + if (success == count && success >= 1) { return true; }