From d9723eb36d239aa388b6a5741f671f765ba7db90 Mon Sep 17 00:00:00 2001 From: ZouJin Date: Mon, 19 Feb 2024 17:57:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E8=87=AA=E5=8A=A8=E8=AF=BB?= =?UTF-8?q?=E5=8F=96=E6=94=AF=E6=8C=81=E7=9A=84dll?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet-Simulator.Windows/Function/CoreMOD.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/VPet-Simulator.Windows/Function/CoreMOD.cs b/VPet-Simulator.Windows/Function/CoreMOD.cs index 7e628e4..6016996 100644 --- a/VPet-Simulator.Windows/Function/CoreMOD.cs +++ b/VPet-Simulator.Windows/Function/CoreMOD.cs @@ -231,6 +231,17 @@ namespace VPet_Simulator.Windows string authtype = ""; foreach (FileInfo tmpfi in di.EnumerateFiles("*.dll")) { +#if X64 + if (tmpfi.Name.Contains("x86")) + { + continue; + } +#else + if (tmpfi.Name.Contains("x64")) + { + continue; + } +#endif try { var path = tmpfi.Name;